Visibility Jam. July 19-21, 2024. See the results.

Unity Vector Library and Generator

Oswald Hurlem
Ordnance inbound.
https://github.com/OswaldHurlem/OHUnityVector

This is the math code I've been using to develop Swedish Cubes for a while now. It provides more vector types/functions for Unity and the C++ code it is wont to interop with. I removed a bunch of the dependencies in the code generator and put it up.

Comments

1
#ifndef UNITY_VECTORSunion VectorI2

That's not valid C.

I don't understand difference between UnityVector.cs and UnityVectors.cs files. Both have vector types. One has swizzle functions appended, but they are also available in UnityVectorSwizzles.cs file. Confusing.
Thank you -_- Fixed.