[][src]Module nannou::geom::vector

Implementation of the Vector types.

Note: Much of the code in this module is inspired by or copied directly from the cgmath crate. Originally we used the cgmath types directly, however we decided to switch to our own implementations in order to gain some flexibility.

Structs

Vector2

A 2-dimensional vector.

Vector3

A 3-dimensional vector.

Vector4

A 4-dimensional vector.

Functions

vec2

The short constructor.

vec3

The short constructor.

vec4

The short constructor.