diff options
| author | realtradam <[email protected]> | 2023-06-16 01:18:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-06-16 01:18:13 -0400 |
| commit | a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807 (patch) | |
| tree | f7e358545f5043df20695d0cf51dcf8caa10cb12 /include/rodeo/math/vec2_t.h | |
| parent | 425516a9c53183179c43517f1b6501a790378a05 (diff) | |
| download | RodeoKit-a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807.tar.gz RodeoKit-a47cc44ef7191d03f8ca1b8d4e6b9dd34fba1807.zip | |
matrix math wrapper as well as various refactors for consistant and cleaner code
Diffstat (limited to 'include/rodeo/math/vec2_t.h')
| -rw-r--r-- | include/rodeo/math/vec2_t.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/rodeo/math/vec2_t.h b/include/rodeo/math/vec2_t.h new file mode 100644 index 0000000..22717c6 --- /dev/null +++ b/include/rodeo/math/vec2_t.h @@ -0,0 +1,17 @@ +#pragma once + +typedef +struct +{ + float x; + float y; +} +rodeo_math_vec2_val_t; + +typedef +union +{ + rodeo_math_vec2_val_t val; + float raw[2]; +} +rodeo_math_vec2_t; |
