Type Alias OctreeShapeI32

Source
pub type OctreeShapeI32 = ConstPow2Shape3i32<1, 1, 1>;
Expand description

A BranchShape for signed octrees.

Aliased Type§

pub struct OctreeShapeI32;

Trait Implementations§

Source§

impl BranchShape<IVec3> for OctreeShapeI32

Source§

const SHAPE_SHIFTER: IVec3

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

fn linearize_child(v: IVec3) -> ChildIndex

Source§

fn delinearize_child(i: ChildIndex) -> IVec3

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