#include "traffic.h" /*TODO: -> world_traffic.h */
#include "world_routes.h"
#include "world_sfd.h"
+#include "world_audio.h"
#include "shaders/terrain.h"
#include "shaders/sky.h"
* instance_cache;
u32 instance_cache_count,
instance_cache_cap;
+
+ v3f render_gate_pos;
}
world;
/* Other systems */
world_sfd_init();
+ world_audio_init();
}
static void world_update(void)
}
render_gate( &world.routes.gates[id].gate, camera );
+ v3_lerp( world.render_gate_pos,
+ world.routes.gates[id].gate.co[0],
+ 1.0f,
+ world.render_gate_pos );
}
static void render_world( m4x4f projection, m4x3f camera )