20 #ifndef ANTKEEPER_GAME_WORLD_HPP
21 #define ANTKEEPER_GAME_WORLD_HPP
44 void set_location(::
game& ctx,
double elevation,
double latitude,
double longitude);
65 void set_time(::
game& ctx,
int year,
int month,
int day,
int hour,
int minute,
double second);
constexpr mat4< T > scale(const vec3< T > &v)
Constructs a scale matrix.
World creation and manipulation functions.
void cosmogenesis(::game &ctx)
Creates the cosmos.
void create_observer(::game &ctx)
Creates the observer.
void set_location(::game &ctx, double elevation, double latitude, double longitude)
Sets the location of the observer.
void enter_ecoregion(::game &ctx, const ecoregion &ecoregion)
Enters a ecoregion.
void switch_scene(::game &ctx)
void set_time_scale(::game &ctx, double scale)
Sets rate at which time passes.
void set_time(::game &ctx, double t)
Sets the current time.