Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Helpers.Computative.QuatExtensions Class Reference

Static Public Member Functions

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

Member Function Documentation

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: