Unity-Technologies / Unity.Mathematics

The C# math library used in Unity providing vector types and math functions with a shader like syntax
Other
1.38k stars 156 forks source link

directions (up, down, left, right, forward, backward) for int3 and int2 and one vectors for int2 and int3 #231

Open lucid-dreamm opened 1 year ago

lucid-dreamm commented 1 year ago

Main directions for int2 and int3 do not exist in mathematics library, right? Also, for float3, they are not initialized only once (static) as they are in Vector2 and Vector3 Is there any reason for that?

ltmx commented 1 year ago

Implemented in Unity.mathx : https://github.com/LTMX/Unity.mathx Enjoy !