projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a couple fixmes related to allocations
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_gate.h
diff --git
a/world_gate.h
b/world_gate.h
index ad87ed1d106cdf8c484071c3fc1603805ddc8a55..a073b26af051d6edcd08b7bc1e866a165ea4c882 100644
(file)
--- a/
world_gate.h
+++ b/
world_gate.h
@@
-27,8
+27,8
@@
VG_STATIC void gate_transform_update( ent_gate *gate )
v3_copy( gate->co[1], recv_to_world[3] );
m4x3_mul( recv_to_world, to_local, gate->transport );
v3_copy( gate->co[1], recv_to_world[3] );
m4x3_mul( recv_to_world, to_local, gate->transport );
- m
4x3_scalev
( gate->to_world, (v3f){ gate->dimensions[0],
-
gate->dimensions[1], 1.0f } );
+ m
3x3_scale
( gate->to_world, (v3f){ gate->dimensions[0],
+ gate->dimensions[1], 1.0f } );
}
VG_STATIC void world_gates_init(void)
}
VG_STATIC void world_gates_init(void)