Fix include so it compiles
This commit is contained in:
parent
c3f4c17d6e
commit
c11135c5c4
@ -21,5 +21,5 @@
|
||||
|
||||
## Include order
|
||||
- Std
|
||||
- external raylib
|
||||
- local ( form inc dir )
|
||||
- local ( form inc dir )
|
||||
- external raylib
|
1
main.cpp
1
main.cpp
@ -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);
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <cmath>
|
||||
#include "raymath.h"
|
||||
#include "Math.hpp"
|
||||
#include "raymath.h"
|
||||
|
||||
Color ColorLerp(Color c1, Color c2, float amount)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user