Module math

Source

Structs§

Vec2
A 2d Vector that has no math, is only used as a pretty version of a tuple of u16s Can be made from (u16, u16). Using a single u16.into() will create a vec2 where both values are the same.

Functions§

vec2
Creates a Vec2 from the given inputs.