vec2 is a collection of functions to manipulate Vec2 two-element vector objects.

The primary use for a Vec2 object is in 2D geometry.

Example usage:

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

Index

Functions

Generated using TypeDoc