Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AABB ¶
type AABB struct { Min Vec // Min is the minimum extents of the bounding box. Max Vec // Max is the maximum extents of the bounding box. }
Axis Aligned Bounding Box
func AABBFromIndex ¶
AABBFromIndex creates an AABB from the supplied indexes, and the grid size.
func AABBFromWaypoint ¶
AABBFromWaypoints creates an AABB from the supplied waypoing and the maximum dimensions of the frame.
func AABBFromWaypoints ¶
AABBFromWaypoints creates an AABB from the two supplied waypoints and the maximum dimensions of the frame.
func (*AABB) Intersects ¶
Intersects returns true if a and b overlap (intersect), false otherwise.
Click to show internal directories.
Click to hide internal directories.