Nikola Petrov 2b2dfe751e Simplify
calculation of canvas position based on the cursor position and expected rotation
2024-04-01 22:56:57 +02:00

4 lines
137 B
C++

#include "raylib.h"
Color ColorLerp(Color c1, Color c2, float amount);
Vector2 calculateVector(float rotation, float offSet, float len);