Type Alias OctreeShapeU32

Source
pub type OctreeShapeU32 = ConstPow2Shape3u32<1, 1, 1>;
Expand description

A BranchShape for unsigned octrees.

Aliased Type§

pub struct OctreeShapeU32;

Trait Implementations§

Source§

impl BranchShape<UVec3> for OctreeShapeU32

Source§

const SHAPE_SHIFTER: UVec3

The number of bits to shift each dimension in order to translate coordinates between adjacent Levels.
Source§

fn linearize_child(v: UVec3) -> ChildIndex

Source§

fn delinearize_child(i: ChildIndex) -> UVec3

Source§

fn parent_key(key: V) -> V

Source§

fn ancestor_key(key: V, levels_up: u32) -> V

Source§

fn min_child_key(key: V) -> V

Source§

fn min_descendant_key(key: V, levels_down: u32) -> V