Table of Contents

Method b3MakeMatrixFromQuat

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3MakeMatrixFromQuat(Quaternion)

Builds a rotation matrix from a quaternion.

public static b3Matrix3 b3MakeMatrixFromQuat(Quaternion q)

Parameters

q Quaternion

The rotation.

Returns

b3Matrix3

The equivalent matrix.

Remarks

Worth doing when the same rotation is applied to many vectors.