https://odin-lang.org/docs/overview/#swizzle-operations
Matrix types are also built in:
https://odin-lang.org/docs/overview/#matrix-type
I’ve thought for a little while that Odin could be a secret weapon for game dev and similar pieces of software.
https://github.com/floooh/sokol-odin
It's a very enjoyable language!
https://github.com/floooh/sokol-odin
It's a very enjoyable language!