projects
/
gph-cmath
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added test, comparing operation results using gph-math as reference
[gph-cmath]
/
src
/
cgmvec3.inl
diff --git
a/src/cgmvec3.inl
b/src/cgmvec3.inl
index
11a8849
..
429c34e
100644
(file)
--- a/
src/cgmvec3.inl
+++ b/
src/cgmvec3.inl
@@
-155,7
+155,7
@@
static inline void cgm_vrotate_axis(cgm_vec3 *v, int axis, float angle)
{
float m[16];
cgm_mrotation_axis(m, axis, angle);
{
float m[16];
cgm_mrotation_axis(m, axis, angle);
- cgm_vmul_m3x3(v, m);
+ cgm_vmul_m3v3(v, m);
}
static inline void cgm_vrotate(cgm_vec3 *v, float angle, float x, float y, float z)
}
static inline void cgm_vrotate(cgm_vec3 *v, float angle, float x, float y, float z)