Vector2(x, y)
create :: Vector2(x : float, y : float)
Creates a Vector2 with the given components
Vector2I(x, y)
create :: Vector2I(x : int32, y : int32)
Creates a Vector2I with the given components
Vector3(x, y, z)
create :: Vector3(x : float, y : float, z : float)
Creates a Vector3 with the given components
Vector3I(x, y, z)
create :: Vector3I(x : int32, y : int32, z : int32)
Creates a Vector3I with the given components
Vector3I(Vector3)
create :: Vector3I(o : Vector3)
Creates a Vector3I from a Vector3
clamp(float, float, float)
clamp :: float(x : float, lo : float, hi : float)
Clamps x to the range [lo, hi]
clamp(double, double, double)
clamp :: double(x : double, lo : double, hi : double)
Clamps x to the range [lo, hi]
clamp(int, int, int)
clamp :: int(x : int, lo : int, hi : int)
Clamps x to the range [lo, hi]
wrap(float, float, float)
wrap :: float(x : float, lo : float, hi : float)
Wraps x into the range [lo, hi)
wrap(double, double, double)
wrap :: double(x : double, lo : double, hi : double)
Wraps x into the range [lo, hi)
wrap(int, int, int)
wrap :: int(x : int, lo : int, hi : int)
Wraps x into the range [lo, hi)
lerp(float, float, float)
lerp :: float(a : float, b : float, t : float)
Linearly interpolates between a and b by t
lerp(double, double, double)
lerp :: double(a : double, b : double, t : double)
Linearly interpolates between a and b by t
lerp(Vector2, Vector2, float)
lerp :: Vector2(a : Vector2, b : Vector2, t : float)
Linearly interpolates between two Vector2 values
lerp(Vector3, Vector3, float)
lerp :: Vector3(a : Vector3, b : Vector3, t : float)
Linearly interpolates between two Vector3 values
Rect(x, y, width, height)
create :: Rect(x : float, y : float, width : float, height : float)
Creates a Rect with the given position and size