[go: up one dir, main page]

Module math

Source

Structs§

TypedPoint2D
A 2d Point tagged with a unit.

Functions§

fixed
point
rect
Shorthand for TypedRect::new(TypedPoint2D::new(x, y), TypedSize2D::new(w, h)).
size
Shorthand for TypedSize2D::new(w, h).
vec2
Convenience constructor.
vec3
Convenience constructor.

Type Aliases§

F64Point
FixedPoint32
FixedPoint64
Int64Point
IntPoint
IntRect
IntSize
IntVec2
IntVec3
Point
Point2D
Default 2d point type with no unit.
Radians
A value in radians.
Rect
Size
TessPoint
TessPoint64
TessVec2
Transform2D
Transform3D
Vec2
Vec3
Vector2D
Default 2d vector type with no unit.