Varios arreglos

This commit is contained in:
2024-11-03 20:28:01 +01:00
parent f29eb2f411
commit 371c477d0d
18 changed files with 168 additions and 202 deletions

View File

@@ -1,8 +1,8 @@
#include "path_sprite.h"
#include <cmath> // for abs
#include <stdlib.h> // for abs
#include <functional> // for function
#include <utility> // for move
#include <cmath> // Para abs
#include <stdlib.h> // Para abs
#include <functional> // Para function
#include <utility> // Para move
// 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)