Skip to main content

primitive_set_bbox

Function primitive_set_bbox 

Source
pub unsafe fn primitive_set_bbox(
    prim: *mut OcsgPrimitive,
    minx: f32,
    miny: f32,
    minz: f32,
    maxx: f32,
    maxy: f32,
    maxz: f32,
)
Expand description

Set the bounding box on a primitive (normalized device coordinates).

ยงSafety

prim must be a valid handle.