Table of Contents

Method b3MakeQuatFromAxisAngle

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

b3MakeQuatFromAxisAngle(Vector3, float)

Builds a rotation about an axis.

public static Quaternion b3MakeQuatFromAxisAngle(Vector3 axis, float radians)

Parameters

axis Vector3

The rotation axis, which must be normalized.

radians float

The rotation angle in radians.

Returns

Quaternion

The rotation.