push as is, half baked broken twn_models.c
This commit is contained in:
@ -415,7 +415,9 @@ static void render_space(void) {
|
||||
|
||||
|
||||
void render(void) {
|
||||
models_update_pre_textures();
|
||||
textures_update_atlas(&ctx.texture_cache);
|
||||
models_update_post_textures();
|
||||
|
||||
/* fit rendering context onto the resizable screen */
|
||||
if (ctx.window_size_has_changed) {
|
||||
@ -471,7 +473,6 @@ void draw_camera(Vec3 position, Vec3 direction, Vec3 up, float fov, float zoom)
|
||||
|
||||
|
||||
/* TODO: https://stackoverflow.com/questions/62493770/how-to-add-roll-in-camera-class */
|
||||
/* TODO: check for NaNs and alike */
|
||||
/* TODOL call draw_camera() instead, to reuse the code */
|
||||
DrawCameraFromPrincipalAxesResult draw_camera_from_principal_axes(Vec3 position,
|
||||
float roll,
|
||||
|
Reference in New Issue
Block a user