refactor: rectangle functions

This commit is contained in:
huaqo-games
2025-11-06 14:27:27 +01:00
parent cc53a19fd5
commit cd6afe32f0
3 changed files with 43 additions and 41 deletions
+3
View File
@@ -232,5 +232,8 @@ Vector2 GetRandomVector(const Rectangle bounds);
Vector2 RotationToVector2(float rotation);
float Vector2ToRotation(Vector2 vec);
Vector2 GetPositionInsideRectangle(Rectangle rec);
Vector2 GetPositionOutsideRectangle(Rectangle rec, int min, int max);
#endif //ENGINE_H