vec3 is a collection of functions to manipulate Vec3 3-element vector objects.

The primary use for a Vec3 object is in 3D geometry, as homogeneous coordinates in 2D geometry, or to represent e.g. RGB colours.

Example usage:

import * as vec3 from '@spissvinkel/maths/vec3';

Index

Functions

Generated using TypeDoc