|
static Quaternion | FromEuler (float x, float y, float z) |
|
◆ FromEuler()
static Quaternion pluginbase.Helpers.Computative.QuatExtensions.FromEuler |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
static |
10 var qX = Quaternion.FromAxisAngle(Vector3.UnitX, x);
11 var qY = Quaternion.FromAxisAngle(Vector3.UnitY, y);
12 var qZ = Quaternion.FromAxisAngle(Vector3.UnitZ, z);
14 return qX * (qZ * qY);
The documentation for this class was generated from the following file: