renderDepth() is provided by the parent class, so it doesn't need to be redefined in the cube class