Module pixel_game_lib::geom 
source · Expand description
Re-export vek types. Common and trivial geometric primitives.
Modules
- Basic geometric primitives that use#[repr(C)]vectors.
- Basic geometric primitives that use#[repr(simd)]vectors.
Structs
- Axis-aligned Bounding Box (3D), represented byminandmaxpoints.
- Axis-aligned Bounding Rectangle (2D), represented byminandmaxpoints.
- Disk (2D), represented by center and radius.
- Ellipsis (2D), represented by center and radius in both axii.
- Data that represents distance offsets of frustum planes from an origin.
- 2D Line segment, represented by two points,startandend.
- 3D Line segment, represented by two points,startandend.
- Nobody can possibly use this ???
- 3D ray, represented by a starting point and a normalized direction vector.
- 2D rectangle, represented by a bottom-left position, and 2D extents.
- ARectextended to 3D.
- Sphere (3D), represented by center and radius.