Skip to main content

LOCAL_VERTICES_STRIDE

Constant LOCAL_VERTICES_STRIDE 

Source
pub const LOCAL_VERTICES_STRIDE: usize = 10;
Expand description

Stride (number of f32s) per part in the local_vertices SoA buffer. Layout: [lt.x, lt.y, rt.x, rt.y, lb.x, lb.y, rb.x, rb.y, center.x, center.y] in part-local space, with coordinate_system (Y-Up/Y-Down) flip already applied.