Some work on example games

This commit is contained in:
Ray 2017-04-28 00:29:23 +02:00
commit 66320582a3

View file

@ -154,17 +154,4 @@ void UnloadLevel02Screen(void)
int FinishLevel02Screen(void)
{
return finishScreen;
}
// Calculate distance between two points
float Vector2Distance(Vector2 v1, Vector2 v2)
{
float result;
float dx = v2.x - v1.x;
float dy = v2.y - v1.y;
result = sqrt(dx*dx + dy*dy);
return result;
}