feat: Random airfield spawning

This commit is contained in:
2026-04-16 22:50:27 +01:00
parent 965c0f393c
commit 49dd53f8e4
11 changed files with 76 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
#include "aircraft.hpp"
void dxd::sim::Aircraft::tick(float timestep, vec2 bounds)
void dxd::sim::Aircraft::tick(float timestep, World *world)
{
_position = _position + polar_to_vec2(_direction, _speed) * timestep;
}