RedVector3D:
Filter:
redUniverse/Classes (extension) | Red > redUniverse

RedVector3D
ExtensionExtension

a vector with three dimensions

Description

This is an optimised version of RedVector. It also adds the -cross method.

Instance Methods

.cross

Cross product.

NOTE: This is unique for RedVector3D and is not implemented for the other RedVector classes.

.matrixMul

Matrix multiplication.

NOTE: This is unique for RedVector3D and is not implemented for the other RedVector classes.

.matrix2Mul

Multiplication with a two row matrix.

NOTE: This is unique for RedVector3D and is not implemented for the other RedVector classes.

Returns:

Examples