Function axiolid_v0_4_mesh_import

Source
#[no_mangle]
pub unsafe extern "C" fn axiolid_v0_4_mesh_import(
    context: AxiolidContextHandle,
    positions_xyz: *const f64,
    vertex_count: usize,
    triangle_indices: *const u32,
    triangle_count: usize,
    out_mesh: *mut AxiolidMeshHandle,
) -> AxiolidStatus
Expand description

Import an indexed triangle mesh. Input buffers are borrowed for this call only.

ยงSafety

Every non-null pointer must be aligned and valid for the documented read or write extent.