summaryrefslogtreecommitdiffhomepage
path: root/src/math/rodeo_vec2.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_vec2.c
parentacc9db32d765728b63162d6fc74a278d0da10b83 (diff)
downloadRodeoKit-94625b3133193acd22b68595fe922b7228528b11.tar.gz
RodeoKit-94625b3133193acd22b68595fe922b7228528b11.zip
fix matrix wrapper as well as a lot of refactoring cleanupmatrixtemp
Diffstat (limited to 'src/math/rodeo_vec2.c')
-rw-r--r--src/math/rodeo_vec2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math/rodeo_vec2.c b/src/math/rodeo_vec2.c
index a9e369e..be9d7ff 100644
--- a/src/math/rodeo_vec2.c
+++ b/src/math/rodeo_vec2.c
@@ -11,8 +11,8 @@ rodeo_math_vec2_t
irodeo_math_cglmVec2_to_rodeoVec2(vec2s in)
{
return (rodeo_math_vec2_t){
- .x = in.raw[0],
- .y = in.raw[1]
+ .raw[0] = in.raw[0],
+ .raw[1] = in.raw[1]
};
}
@@ -20,8 +20,8 @@ vec2s
irodeo_math_rodeoVec2_to_cglmVec2(rodeo_math_vec2_t in)
{
return (vec2s){
- .raw[0] = in.x,
- .raw[1] = in.y
+ .raw[0] = in.raw[0],
+ .raw[1] = in.raw[1]
};
}