Fix include so it compiles

This commit is contained in:
Nikola Petrov 2024-03-05 14:18:19 +01:00
parent c3f4c17d6e
commit c11135c5c4
3 changed files with 4 additions and 3 deletions

View File

@ -21,5 +21,5 @@
## Include order
- Std
- external raylib
- local ( form inc dir )
- local ( form inc dir )
- external raylib

View File

@ -31,6 +31,7 @@ int main(void)
{
int mouseX = GetMouseX();
center.x = mouseX;
center.y = GetMouseY();
float l = (float)mouseX / screenWidth;
rotation = Lerp(45.0f, -45.0f, l);
dest = CalculateRect(center, rotation, screenWidth, screenWidth);

View File

@ -1,6 +1,6 @@
#include <cmath>
#include "raymath.h"
#include "Math.hpp"
#include "raymath.h"
Color ColorLerp(Color c1, Color c2, float amount)
{