projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
water fog material prop; ragdoll float only on drowned
[carveJwlIkooP6JGAAIwe30JlM.git]
/
physics_test.h
diff --git
a/physics_test.h
b/physics_test.h
index 33a6b6b7f8c56b70a75470da8e96ea55b3d9eb90..243de364933859c3d08881c5584fcf9295cfba08 100644
(file)
--- a/
physics_test.h
+++ b/
physics_test.h
@@
-1,3
+1,7
@@
+/*
+ * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ */
+
#ifndef PHYSICS_TEST_H
#define PHYSICS_TEST_H
#ifndef PHYSICS_TEST_H
#define PHYSICS_TEST_H
@@
-139,7
+143,7
@@
static void physics_test_start(void)
}
}
}
}
- free( mdl );
+
vg_
free( mdl );
scene_bh_create( &epic_scene );
rb_init( &epic_scene_rb );
scene_bh_create( &epic_scene );
rb_init( &epic_scene_rb );
@@
-227,26
+231,26
@@
static void physics_test_update(void)
/* POSITION OVERRIDE */
{
/* POSITION OVERRIDE */
{
- if(glfwGetKey( vg
_
window, GLFW_KEY_L ))
+ if(glfwGetKey( vg
.
window, GLFW_KEY_L ))
{
m4x3_mulv( player.camera, (v3f){0.0f,0.0f,-5.0f}, marko.co );
v3_zero( marko.v );
v3_zero( marko.w );
}
{
m4x3_mulv( player.camera, (v3f){0.0f,0.0f,-5.0f}, marko.co );
v3_zero( marko.v );
v3_zero( marko.w );
}
- if(glfwGetKey( vg
_
window, GLFW_KEY_K ))
+ if(glfwGetKey( vg
.
window, GLFW_KEY_K ))
{
m4x3_mulv( player.camera, (v3f){0.0f,0.0f,-5.0f}, ball.co );
v3_zero( ball.v );
v3_zero( ball.w );
}
{
m4x3_mulv( player.camera, (v3f){0.0f,0.0f,-5.0f}, ball.co );
v3_zero( ball.v );
v3_zero( ball.w );
}
- if(glfwGetKey( vg
_
window, GLFW_KEY_J ))
+ if(glfwGetKey( vg
.
window, GLFW_KEY_J ))
{
m4x3_mulv( player.camera, (v3f){0.0f,0.0f,-5.0f}, ball1.co );
v3_zero( ball1.v );
v3_zero( ball1.w );
}
{
m4x3_mulv( player.camera, (v3f){0.0f,0.0f,-5.0f}, ball1.co );
v3_zero( ball1.v );
v3_zero( ball1.w );
}
- if(glfwGetKey( vg
_
window, GLFW_KEY_H ))
+ if(glfwGetKey( vg
.
window, GLFW_KEY_H ))
{
reorg_jeffs();
}
{
reorg_jeffs();
}