Scene.addCube

Write the first paragraph of your page here.

scene.addCube(table pos, material id, table scale)
Adds a cube primitive to the display list and returns a unique ID reference.

pos should be a table of the format {double x, doubled y, double z}. Other fields will be ignored.

material should be the unique ID of a material generated with loon.scene.createMaterial

scale should be a table of the format {double x, double y, double z}. Other fields will be ignored.

Section heading
Write the second section of your page here.