medfall

A super great game engine
Log | Files | Refs

commit 5aabd890a2d7573bb99d9c04b91c5209ef7f44f7
parent 5b8c06a724b3d487bde991c14faeed5ef7777928
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Fri, 31 May 2019 00:04:39 +0300

Add bigvic.glb

Diffstat:
Abigvic.glb | 0
Mgltf.cc | 4++--
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bigvic.glb b/bigvic.glb Binary files differ. diff --git a/gltf.cc b/gltf.cc @@ -286,7 +286,7 @@ static void LoadAnimationReel( MemoryArena * arena, const cgltf_animation * anim } CLIP.start_time = 0; - CLIP.duration = 2; + CLIP.duration = 10; CLIP.loop = true; model.animation.clips = &CLIP; @@ -387,7 +387,7 @@ GAME_INIT( game_init ) { cgltf_options options = { }; cgltf_data * data; - if( cgltf_parse_file( &options, "CesiumMan.glb", &data ) != cgltf_result_success ) + if( cgltf_parse_file( &options, "bigvic.glb", &data ) != cgltf_result_success ) FATAL( "cgltf_parse_file" ); if( cgltf_load_buffers( &options, data, "./" ) != cgltf_result_success ) FATAL( "cgltf_load_buffers" );