projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
011d58e
)
improve board stability by scaling inertia tensor
author
hgn
<hgodden00@gmail.com>
Tue, 28 Nov 2023 02:34:04 +0000
(
02:34
+0000)
committer
hgn
<hgodden00@gmail.com>
Tue, 28 Nov 2023 02:34:04 +0000
(
02:34
+0000)
player_skate.c
patch
|
blob
|
history
diff --git
a/player_skate.c
b/player_skate.c
index e591d171db98f6a3c46ee2e3d91855fa97e88914..44845acfe9bb7e831c97f28f8e833b0bfb5cc3d6 100644
(file)
--- a/
player_skate.c
+++ b/
player_skate.c
@@
-2390,7
+2390,7
@@
begin_collision:;
}
/* yes, we are currently rebuilding mass matrices every frame. too bad! */
- v3f extent = { k_board_width, 0.1f, k_board_length };
+ v3f extent = { k_board_width
*10.0f
, 0.1f, k_board_length };
float ex2 = k_board_interia*extent[0]*extent[0],
ey2 = k_board_interia*extent[1]*extent[1],
ez2 = k_board_interia*extent[2]*extent[2];