build system revision
[carveJwlIkooP6JGAAIwe30JlM.git] / testing.c
index 103f62cafeb106fb397ef7475763cc9cd8c0cbd5..a71806ccab935a1eba73743b41dce46ea0243455 100644 (file)
--- a/testing.c
+++ b/testing.c
@@ -1,6 +1,7 @@
 #pragma once
 #include "vg/vg_m.h"
 #include "vg/vg_rigidbody.h"
+#include "vg/vg_input.h"
 #include "scene_rigidbody.h"
 
 struct {
@@ -49,7 +50,8 @@ static void testing_update(void){
       buf[j].rbb = &_null;
    }
 
-   rb_presolve_contacts( rb_contact_buffer, rb_contact_count );
+   rb_presolve_contacts( rb_contact_buffer, 
+                         vg.time_fixed_delta, rb_contact_count );
 
    for( u32 i=0; i<8; i ++ )
       rb_solve_contacts( rb_contact_buffer, rb_contact_count );