Table of Contents

Method b3RotateVector

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

b3RotateVector(Quaternion, Vector3)

Rotates a vector by a quaternion.

public static Vector3 b3RotateVector(Quaternion q, Vector3 v)

Parameters

q Quaternion

The rotation.

v Vector3

The vector.

Returns

Vector3

The rotated vector.