Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

clip_lanes8_plane_reference

Function clip_lanes8_plane_reference 

Source
pub unsafe fn clip_lanes8_plane_reference(
    src: *const Lanes8,
    count: usize,
    dst: *mut Lanes8,
    plane: &LanePlane,
) -> usize
Expand description

Clip count vertices at src against plane into dst, returning how many were written. The portable definition.

§Safety

src must be valid for reads of count vertices, dst for writes of plane.capacity vertices, and the two ranges must not overlap.