Nikola Petrov e5f9e8d7f3 Add basic rotation
Rotate texuture based on mouse position
2024-03-05 01:51:26 +01:00

5 lines
176 B
C++

#include "raylib.h"
#include "raymath.h"
Color ColorLerp(Color c1, Color c2, float amount);
Rectangle CalculateRect(Vector2 center, float rotation, float width, float height);