Skip to main content

Module primitives

Module primitives 

Source

Structs§

Aabb
An axis-aligned bounding box, defined by:
CascadesFrusta
CubeMapFace
CubemapFrusta
Frustum
A frustum component is used on an entity with a Camera component to determine which entities will be considered for rendering by this camera. All entities with an Aabb component that are not contained by (or crossing the boundary of) the frustum will not be rendered, and not be used in rendering computations.
Sphere
A sphere, defined by a center and a radius.

Enums§

CubemapLayout
Cubemap layout defines the order of images in a packed cubemap image.

Constants§

CUBE_MAP_FACES

Traits§

MeshAabb

Functions§

face_index_to_name