allocate a mat4 per shape
rename w/h/d to width/height/depth
allocate a new mat4 for every shape