Fix the machine size drawing when X and Y are differnt
This commit is contained in:
parent
39f39ce4b3
commit
53a98146f5
1 changed files with 2 additions and 2 deletions
|
|
@ -175,8 +175,8 @@ def DrawMachine(machineSize):
|
|||
glVertex3f(0, machineSize.y, 0)
|
||||
glVertex3f(0, machineSize.y, machineSize.z)
|
||||
|
||||
glVertex3f(machineSize.y, 0, 0)
|
||||
glVertex3f(machineSize.y, 0, machineSize.z)
|
||||
glVertex3f(machineSize.x, 0, 0)
|
||||
glVertex3f(machineSize.x, 0, machineSize.z)
|
||||
glVertex3f(machineSize.x, machineSize.y, machineSize.z)
|
||||
glVertex3f(machineSize.x, machineSize.y, 0)
|
||||
glEnd()
|
||||
|
|
|
|||
Loading…
Reference in a new issue