Show / Hide Table of Contents

Class NumericsExtensions

Inheritance
object
NumericsExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SlipeServer.Server.Extensions
Assembly: SlipeServer.Server.dll
Syntax
public static class NumericsExtensions

Methods

| Edit this page View Source

ToEuler(Quaternion)

Returns the equivalent representation of a quaternion in euler angles

Declaration
public static Vector3 ToEuler(this Quaternion quaternion)
Parameters
Type Name Description
Quaternion quaternion
Returns
Type Description
Vector3
| Edit this page View Source

ToQuaternion(Vector3)

Return the equivalent representation of a rotation, in euler angles, in quaternions

Declaration
public static Quaternion ToQuaternion(this Vector3 rotation)
Parameters
Type Name Description
Vector3 rotation
Returns
Type Description
Quaternion
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX