HM_vectorcrossproduct()

Calculates the cross product of two vectors.

Syntax

int HM_vectorcrossproduct(HM_vectorpointer result, HM_vectorpointer vector1, HM_vectorpointer vector2);

Type

HyperMesh hmlib Function

Description

Calculates the cross product of two vectors.

Inputs

result
A pointer to a vector where the result of the cross product should be stored.
vector1
A pointer to a vector.
vector2
A pointer to a vector.

Example

If successful, HM_vectorcrossproduct() returns zero; otherwise, nonzero.

Errors

None.