Function wgpu_glyph::orthographic_projection [−][src]
pub fn orthographic_projection(width: u32, height: u32) -> [f32; 16]
Expand description
Helper function to generate a generate a transform matrix.
pub fn orthographic_projection(width: u32, height: u32) -> [f32; 16]
Helper function to generate a generate a transform matrix.