ui improvements and texture tests

This commit is contained in:
Sebastian
2026-06-26 01:50:32 +02:00
parent 7c7c3b37ff
commit 9ea1305c27
14 changed files with 89 additions and 42 deletions
+4
View File
@@ -15,4 +15,8 @@ namespace VISEQ::HELPER{
float rotation = Vector2Angle((Vector2){1,0}, (end - start)) * RAD2DEG;
DrawTextPro(GetFontDefault(), text.c_str(), text_position, (Vector2){0,0}, rotation, size, 2.0f, col);
}
inline float GetRotation(Vec2Df start, Vec2Df end){
return Vector2Angle((Vector2){1,0}, (end - start)) * RAD2DEG;
}
}