Plate generation.
This commit is contained in:
@@ -21,7 +21,7 @@ void render() {
|
||||
|
||||
// Convert the vertices from world coordinates (Pt) to screen
|
||||
// coordinates (Vector2).
|
||||
Vector2 screen_verts[4];
|
||||
Vector2 screen_verts[10];
|
||||
for (int j = 0; j < plate.nverts; j++) {
|
||||
screen_verts[j] = PointToVector2(plate.verts[j]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user