| 57 | } |
| 58 | |
| 59 | Vector2 GenerateDirection2D() |
| 60 | { |
| 61 | float angle = GenerateFloat(0.0f, PI_MUL_2); // Generate angle in full circle. |
| 62 | return Vector2(cos(angle), sin(angle)); |
| 63 | } |
| 64 | |
| 65 | Vector2 GeneratePoint2DInSquare(const Vector2& pos, short orient, float apothem) |
| 66 | { |
no test coverage detected