Table of Contents

Method b3DotQuat

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

b3DotQuat(Quaternion, Quaternion)

Computes the dot product of two quaternions, which is useful for polarity tests.

public static float b3DotQuat(Quaternion a, Quaternion b)

Parameters

a Quaternion

The first quaternion.

b Quaternion

The second quaternion.

Returns

float

The dot product.