push as is, half baked broken twn_models.c
This commit is contained in:
		@@ -197,7 +197,9 @@ static void ingame_tick(State *state) {
 | 
			
		||||
    input_action("mouse_capture_toggle", "ESCAPE");
 | 
			
		||||
    input_action("toggle_camera_mode", "C");
 | 
			
		||||
 | 
			
		||||
    draw_model("models/test.obj", (Vec3){0}, (Vec3){0,0,1}, (Vec3){1,1,1});
 | 
			
		||||
    // draw_model("models/test.obj", (Vec3){0}, (Vec3){0,0,1}, (Vec3){1.f / 64,1.f / 64,1.f / 64});
 | 
			
		||||
    // draw_model("models/test2.obj", (Vec3){0}, (Vec3){0,0,1}, (Vec3){1.f / 64,1.f / 64,1.f / 64});
 | 
			
		||||
    // draw_model("models/bunny.obj", (Vec3){0}, (Vec3){0,0,1}, (Vec3){4.,4.,4.});
 | 
			
		||||
 | 
			
		||||
    if (scn->mouse_captured) {
 | 
			
		||||
        const float sensitivity = 0.4f * (float)DEG2RAD; /* TODO: put this in a better place */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user