Empeld
Empeld plugin documentation.
pluginbase.Helpers.Computative.QuatExtensions Class Reference

Static Public Member Functions

static Quaternion FromEuler (float x, float y, float z)
 

Member Function Documentation

◆ FromEuler()

static Quaternion pluginbase.Helpers.Computative.QuatExtensions.FromEuler ( float  x,
float  y,
float  z 
)
static
9  {
10  var qX = Quaternion.FromAxisAngle(Vector3.UnitX, x);
11  var qY = Quaternion.FromAxisAngle(Vector3.UnitY, y);
12  var qZ = Quaternion.FromAxisAngle(Vector3.UnitZ, z);
13 
14  return qX * (qZ * qY);
15  }

The documentation for this class was generated from the following file: