1
Vote

createBox(doc, x, y, z, Color) throws an error

description

Valued user worked around by:
 
passing in the document or null for the doc parameter throws an error. I (he) could only get this to work with:
 
ajax.geometry.Mesh.createBox(undefined, 1, 1, 1, new ajax.drawing.Colour(0, 255, 0)); // Not sure if this is the intended way.

comments