summaryrefslogtreecommitdiffhomepage
path: root/src/math/rodeo_vec3.c
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-16 01:15:57 -0400
committerrealtradam <[email protected]>2023-06-16 01:15:57 -0400
commit94625b3133193acd22b68595fe922b7228528b11 (patch)
treef7e358545f5043df20695d0cf51dcf8caa10cb12 /src/math/rodeo_vec3.c
parentacc9db32d765728b63162d6fc74a278d0da10b83 (diff)
downloadRodeoKit-matrixtemp.tar.gz
RodeoKit-matrixtemp.zip
fix matrix wrapper as well as a lot of refactoring cleanupmatrixtemp
Diffstat (limited to 'src/math/rodeo_vec3.c')
-rw-r--r--src/math/rodeo_vec3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/math/rodeo_vec3.c b/src/math/rodeo_vec3.c
index bcdf86b..c94ecd3 100644
--- a/src/math/rodeo_vec3.c
+++ b/src/math/rodeo_vec3.c
@@ -11,9 +11,9 @@ rodeo_math_vec3_t
irodeo_math_cglmVec3_to_rodeoVec3(vec3s in)
{
return (rodeo_math_vec3_t){
- .x = in.raw[0],
- .y = in.raw[1],
- .z = in.raw[2]
+ .raw[0] = in.raw[0],
+ .raw[1] = in.raw[1],
+ .raw[2] = in.raw[2]
};
}
@@ -21,9 +21,9 @@ vec3s
irodeo_math_rodeoVec3_to_cglmVec3(rodeo_math_vec3_t in)
{
return (vec3s){
- .raw[0] = in.x,
- .raw[1] = in.y,
- .raw[2] = in.z
+ .raw[0] = in.raw[0],
+ .raw[1] = in.raw[1],
+ .raw[2] = in.raw[2],
};
}