screenspace coords was much easier than expected
This commit is contained in:
@@ -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()]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user