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

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