<s> class Cube ( object ) : <EOL> def __init__ ( self , w , h , d , shiftX , shiftY , shiftZ ) : <EOL> self . w = w <EOL> self . h = h <EOL> self . d = d <EOL> self . shiftX = shiftX <EOL> self . shiftY = shiftY <EOL> self . shiftZ = shiftZ <EOL> self . minusWTwo = - self . w / <NUM_LIT:2> <EOL> self . minusHTwo = - self . h / <NUM_LIT:2> <EOL> self . minusDTwo = - self . d / <NUM_LIT:2> <EOL> def drawCube ( self ) : <EOL> with beginShape ( QUADS ) : <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . minusHTwo + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . minusDTwo + self . shiftZ ) <EOL> vertex ( self . w + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> vertex ( self . minusWTwo + self . shiftX , <EOL> self . h + self . shiftY , <EOL> self . d + self . shiftZ ) <EOL> rotateY ( radians ( <NUM_LIT:1> ) ) <EOL> rotateX ( radians ( <NUM_LIT:1> ) ) <EOL> rotateZ ( radians ( <NUM_LIT:1> ) ) </s>
