gles2: Expose `Gles2Frame`s projection matrix

This commit is contained in:
Victor Brekenfeld 2022-01-08 21:23:43 +01:00
parent f4811646be
commit 20d95c80c6
1 changed files with 5 additions and 0 deletions

View File

@ -1428,4 +1428,9 @@ impl Gles2Frame {
Ok(())
}
/// Projection matrix for this frame
pub fn projection(&self) -> &[f32; 9] {
self.current_projection.as_ref()
}
}