Skip to content

ludus::foundation::geometry::PointSearchNode

Ludus Wiki · API overview · Browse API

Struct

Packed CPU/GPU node, two sixteen-byte words. Fields are explicit; upload only to the matching shader layout. This is not a host-padding serialization format.

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp

#include <ludus/foundation/geometry/point_search.hpp>
struct ludus::foundation::geometry::PointSearchNode final

Fields

PositionWorld

math::Vector3 ludus::foundation::geometry::PointSearchNode::PositionWorld {}
Original input position, unchanged.

Related types: math::Vector3

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp

PointIndex

uint32 ludus::foundation::geometry::PointSearchNode::PointIndex = 0
Original source index, preserved through tree partitioning.

Related types: uint32

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp

Lower

uint32 ludus::foundation::geometry::PointSearchNode::Lower = ABSENT_POINT_NODE
Smaller-coordinate child index, or ABSENT_POINT_NODE.

Related types: uint32

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp

Upper

uint32 ludus::foundation::geometry::PointSearchNode::Upper = ABSENT_POINT_NODE
Larger-coordinate child index, or ABSENT_POINT_NODE.

Related types: uint32

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp

Axis

uint32 ludus::foundation::geometry::PointSearchNode::Axis = 0
Partition axis: 0=X, 1=Y, 2=Z.

Related types: uint32

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp

Reserved

uint32 ludus::foundation::geometry::PointSearchNode::Reserved = 0
Zero; reserved for a future version.

Related types: uint32

Declared in modules/foundation/geometry/include/ludus/foundation/geometry/point_search.hpp