Skip to main content

batch_transform_points

Function batch_transform_points 

Source
pub fn batch_transform_points(
    mat: &Mat4,
    points: &[Point3],
    out: &mut Vec<Point3>,
)
Expand description

Batch transform: apply a Mat4 to an array of points.

Processing points in batches enables auto-vectorization.