screenspace coords was much easier than expected

This commit is contained in:
2020-08-08 01:49:35 -07:00
parent 67b7d98f99
commit 0619b79d34
8 changed files with 92 additions and 72 deletions

View File

@@ -137,7 +137,7 @@ impl Text {
}
impl Drawable for Text {
fn get(&self) -> Vec<VertexType> {
fn get(&self, window_size: (u32, u32)) -> Vec<VertexType> {
vec![self.verts.clone()]
}
}