Function axiolid_v0_4_mesh_copy

Source
#[no_mangle]
pub unsafe extern "C" fn axiolid_v0_4_mesh_copy(
    context: AxiolidContextHandle,
    mesh: AxiolidMeshHandle,
    out_positions_xyz: *mut f64,
    vertex_capacity: usize,
    out_triangle_indices: *mut u32,
    triangle_capacity: usize,
) -> AxiolidStatus
Expand description

Copy an indexed mesh into exactly-sized, caller-owned output buffers.

ยงSafety

Every non-null pointer must be aligned and valid for the documented write extent. The position and index output ranges must not overlap.