Change so it spins around pointer
This commit is contained in:
@@ -20,4 +20,8 @@ private:
|
||||
float rotation = 0.0f;
|
||||
Rectangle destB;
|
||||
Rectangle destA;
|
||||
|
||||
Vector2 mouseStart;
|
||||
float len;
|
||||
float ofset;
|
||||
};
|
||||
|
@@ -1,4 +1,5 @@
|
||||
#include "raylib.h"
|
||||
|
||||
Color ColorLerp(Color c1, Color c2, float amount);
|
||||
Rectangle CalculateRect(Vector2 center, float rotation, float width, float height);
|
||||
Vector2 calculateVector(float rotation, float offSet, float len);
|
||||
Rectangle calculateRotatedRectangle(Vector2 center, float rotation, float width, float height);
|
Reference in New Issue
Block a user