Skip to main content

BuildPrimitive

Type Alias BuildPrimitive 

Source
pub type BuildPrimitive = RTCBuildPrimitive;
Expand description

Primitives that can be used to build a BVH.

Aliased Type§

#[repr(C, align(32))]
pub struct BuildPrimitive { pub lower_x: f32, pub lower_y: f32, pub lower_z: f32, pub geomID: u32, pub upper_x: f32, pub upper_y: f32, pub upper_z: f32, pub primID: u32, }

Fields§

§lower_x: f32§lower_y: f32§lower_z: f32§geomID: u32§upper_x: f32§upper_y: f32§upper_z: f32§primID: u32