Skip to main content

grid

Function grid 

Source
pub fn grid(
    origin: Vec3,
    right: Vec3,
    up: Vec3,
    size: (f32, f32),
    segments: (u32, u32),
) -> Grid
Expand description

A rectangle centred on origin, right wide and up tall, split into segments quads along each of them, wound so its front face is the side the cross product of right and up points at.