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

clip_convex_plane_uninit

Function clip_convex_plane_uninit 

Source
pub unsafe fn clip_convex_plane_uninit<Vertex: Copy, Plane: AttributedClipPlane<Vertex>, const CHECK_CAPACITY: bool>(
    source: &[Vertex],
    destination: &mut [MaybeUninit<Vertex>],
    plane: &Plane,
    traversal: ClipTraversal,
) -> usize
👎Deprecated:

use the safe clip_to_plane_uninit (checked) or clip_to_plane_uninit_unchecked (proven capacity)

Expand description

clip_convex_plane into uninitialised scratch. The first returned-count entries of destination are initialised on return.

§Safety

clip_convex_plane’s contract.