diff options
author | epoch <epoch@thebackupbox.net> | 2020-04-21 20:35:47 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2020-04-21 20:35:47 -0500 |
commit | 3d5566e48edad6b44606810077366a54f5c2a4de (patch) | |
tree | e7e72d2f098463b34d1407ed7fb87ab2b1212b07 | |
parent | 75b8540c8c6b185b353da5743b18fd800cdfe4c6 (diff) | |
download | hackvr-3d5566e48edad6b44606810077366a54f5c2a4de.tar.gz hackvr-3d5566e48edad6b44606810077366a54f5c2a4de.zip |
temporarily commented out physics stuff
-rw-r--r-- | src/physics.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/physics.c b/src/physics.c index ac75286..2818587 100644 --- a/src/physics.c +++ b/src/physics.c @@ -17,8 +17,9 @@ foward/backward, left/right, up/down, x, y, z rotation-relative-x,rry,rrz */ int apply_physics() { - int i; + //int i; //we can just assume things will float if they don't have a group_rot + /* for(i=0;global.group_rot[i] && i < MAXSHAPES;i++) {//this should be applied to group_rots if(!strcmp(global.group_rot[i]->id,global.user)) {//only apply gravity to the camera. global.group_rot[i]->v.y += (GRAVITY / (float)(global.lps?global.lps:1)); //heh. "fps" needs a headless equivalent now. @@ -28,6 +29,7 @@ int apply_physics() { global.group_rot[i]->p.y=MINIMUM_Y; } } - } + }*/ + //lol. not right now. return 1; } |