mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-26 20:06:28 -08:00
Changed ONE to IDENTITY and ZERO to NULL. Added Quaternion.fromRotationVector(x, y, z)
This commit is contained in:
1 parent
07d97e0d77
commit
2cf7d6b2d3
5 files changed
+35
-19
No files matched your search
@@ -16,7 +16,7 @@ data class Matrix3(
|
||||
val zz: Float
|
||||
) {
|
||||
companion object {
|
||||
val ZERO = Matrix3(0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f)
|
||||
val NULL = Matrix3(0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f)
|
||||
val IDENTITY = Matrix3(1f, 0f, 0f, 0f, 1f, 0f, 0f, 0f, 1f)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user