summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-04-25 20:28:59 -0400
committerrealtradam <[email protected]>2023-04-25 20:28:59 -0400
commit4b6ae783ce2c9f08d21d2a2969826412cc587de2 (patch)
tree3153378c3a6238288e0d519c482edacf4dc6cfa4 /include/rodeo
parent6d58c7ab983e6c2345794ee7bde8dc698cf06f0e (diff)
downloadRodeoKit-4b6ae783ce2c9f08d21d2a2969826412cc587de2.tar.gz
RodeoKit-4b6ae783ce2c9f08d21d2a2969826412cc587de2.zip
finish switching to c99
Diffstat (limited to 'include/rodeo')
-rw-r--r--include/rodeo/log_t.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/rodeo/log_t.h b/include/rodeo/log_t.h
index 844601a..89accc3 100644
--- a/include/rodeo/log_t.h
+++ b/include/rodeo/log_t.h
@@ -19,10 +19,12 @@ void
typedef
union
{
- struct {
+ struct
+ {
float x;
float y;
- };
+ }
+ position;
float array[2];
}
rodeo_vector2_t;
@@ -30,11 +32,13 @@ rodeo_vector2_t;
typedef
union
{
- struct {
+ struct
+ {
float x;
float y;
float z;
- };
+ }
+ position;
float array[3];
}
rodeo_vector3_t;