Arreglat un include

This commit is contained in:
2024-10-30 13:15:30 +01:00
parent 2aa3f827cb
commit 7e918e99f7

View File

@@ -1,8 +1,8 @@
#include "path_sprite.h" #include "path_sprite.h"
#include <bits/std_abs.h> // for abs #include <cmath> // for abs
#include <stdlib.h> // for abs #include <stdlib.h> // for abs
#include <functional> // for function #include <functional> // for function
#include <utility> // for move #include <utility> // for move
// Devuelve un vector con los puntos que conforman la ruta // Devuelve un vector con los puntos que conforman la ruta
std::vector<SDL_Point> createPath(int start, int end, PathType type, int fixed_pos, int steps, const std::function<double(double)> &easingFunction) std::vector<SDL_Point> createPath(int start, int end, PathType type, int fixed_pos, int steps, const std::function<double(double)> &easingFunction)