projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d79dc
)
camera basis
author
hgn
<hgodden00@gmail.com>
Tue, 16 May 2023 12:45:37 +0000
(13:45 +0100)
committer
hgn
<hgodden00@gmail.com>
Tue, 16 May 2023 12:45:37 +0000
(13:45 +0100)
ent_skateshop.c
patch
|
blob
|
history
diff --git
a/ent_skateshop.c
b/ent_skateshop.c
index e7049b5a6309b03c7a1b1088528bb16c795ae024..fb9db29876bb5e521060d2726e37e7f12e1cba03 100644
(file)
--- a/
ent_skateshop.c
+++ b/
ent_skateshop.c
@@
-470,6
+470,7
@@
VG_STATIC void global_skateshop_preupdate(void)
v3f dir = {0.0f,-1.0f,0.0f};
mdl_transform_vector( &ref->transform, dir, dir );
+ m3x3_mulv( localplayer.invbasis, dir, dir );
player_vector_angles( localplayer.cam_override_angles, dir, 1.0f, 0.0f );
v3f lookat;