Lysa  0.0
Lysa 3D Engine
AABB Class Referenceabstract

Detailed Description

Axis-aligned bounding box in model or world space.

Lua full name: lysa.AABB

Public Member Functions

AABB to_global ()
 Transforms this model-space AABB to world space using the owning instance's transform. More...
 

Properties

float3 min
 Minimum corner of the bounding box.
 
float3 max
 Maximum corner of the bounding box.
 
float3 center
 Volumetric center (midpoint of min and max). (read-only)
 

Member Function Documentation

AABB to_global ( )

Transforms this model-space AABB to world space using the owning instance's transform.

Returns
AABB

Property Documentation

float3 min

Minimum corner of the bounding box.

float3 max

Maximum corner of the bounding box.

float3 center

Volumetric center (midpoint of min and max). (read-only)