Skip to content

[Mono] Quat - add some missing constructors and methods

Created by: KellyThomas

change public fields x, y, z, w to auto-properties X, Y, Z, W change functions Length() and LengthSquared() to properties of the same name
change Identity property from using a backing field to having a direct initialiser

new property function IsNormalized()
new functions GetEuler(), SetAxisAngle(Vector3 axis, real_t angle) and SetEuler(Vector3 eulerYXZ)
new constructors Quat(Basis basis), Quat(Vector3 eulerYXZ)

Merge request reports