X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=gph-cmath;a=blobdiff_plain;f=src%2Fcgmvec3.inl;h=05bb895642ab94dfc2d4fabd8ca9c3c252443d5d;hp=11a8849b8441daf3b5d43c5b74e1165cf950d2b0;hb=HEAD;hpb=859349dbac272d5308a3ee5028e269a4ccffef2a diff --git a/src/cgmvec3.inl b/src/cgmvec3.inl index 11a8849..05bb895 100644 --- a/src/cgmvec3.inl +++ b/src/cgmvec3.inl @@ -1,3 +1,11 @@ + /* +Copyright (C) 2018 John Tsiombikas + +This program is free software. Feel free to use, modify, and/or redistribute +it under the terms of the MIT/X11 license. See LICENSE for details. +If you intend to redistribute parts of the code without the LICENSE file +replace this paragraph with the full contents of the LICENSE file. +*/ static inline void cgm_vcons(cgm_vec3 *v, float x, float y, float z) { v->x = x; @@ -155,7 +163,7 @@ static inline void cgm_vrotate_axis(cgm_vec3 *v, int axis, float 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)