Searched refs:fconstrain2 (Results 1 – 2 of 2) sorted by relevance
31 fconstrain2(float f, float min, float max) in fconstrain2() function
785 ship.dx = fconstrain2(ship.dx, -50, 50); in gameloop()786 ship.dy = fconstrain2(ship.dy, -50, 50); in gameloop()