--------------------------------------------------------------------------- Draw a cube given its dimension. Each axis face is colored the same. You can rotate the axes using the mouse. --------------------------------------------------------------------------- Form: AnimateCube( action, x ) --------------------------------------------------------------------------- ------ Inputs ------ action (1,:) 'initialize', 'update', 'close' modifier (1,:) [x,y,z] dimensions on initialize or tag otherwise x (4,1) Quaternion (used for update only) ------- Outputs ------- tag (1,1) Returned on initialize ---------------------------------------------------------------------------