// // // //CREATE QUADS //create points (shared among prims) addpoint(0, {-150,0,0}); addpoint(0, {150,0,0}); addpoint(0, {-100,0,100}); addpoint(0, {100,0,100}); addpoint(0, {-150,0,200}); addpoint(0, {150,0,200}); int points[] = primpoints(0, 0); //create prims without verticies int verts[] = primvertices(0, 0); addprim(0, 0, "poly", points, verts); addprim(0, 1, "poly", points, verts); //add verticies to prims addvertex(0, 0, 0); //prim 0 addvertex(0, 0, 1); addvertex(0, 0, 3); addvertex(0, 0, 2); addvertex(0, 1, 2); //prim 1 addvertex(0, 1, 3); addvertex(0, 1, 5); addvertex(0, 1, 4);