:box

Example

[3D] Draws a box. NOTE: You must pass {:mode :webgl} to the third argument of create-game. :width - The width of the box (number) :height - The height of the box (number) :depth - The depth of the box (number) :detail-x - Triangle subdivisions in the x-dimension (number) :detail-y - Triangle subdivisions in the y-dimension (number)
[:rotate {:angle (/ (js/window.performance.now) 1000), :axis :x} [:rotate {:angle (/ (js/window.performance.now) 1000), :axis :y} [:box {:width 50, :height 50, :depth 50}]]]