Type Definition moon_engine::math::Point

source · []
pub type Point = Vec2;
Expand description

A Point is an alias to Vec2.

Trait Implementations

Point and AABB Collison

Checks if two Colliders intersect. Read more

Point and Circle Collison

Checks if two Colliders intersect. Read more

Point and Point Collsion

Checks if two Colliders intersect. Read more

Get a bounding box for a Point, using POINT_BOUNDING_SIZE as its size

Get the center of the Point Collider