def=adds a 3-point vertex to an existing model

Flash3DInstance..model[modelID].addVertex([x, y, z]); &sam=

//creates an empty model, then adds three vertices and makes these define a side of the model


myWorld = new Flash3D(270, 200, 0);

mod = myWorld.newModel("mod", "myMesh");

mod.addVertex([0,-50,0]);

mod.addVertex([50,50,0]);

mod.addVertex([-50,50,0]);

mod.assignSide([0,2,1], 0x0000FF, 100);

myWorld.render();