Script:
objects[n].faces[m] = [x1, y1, z1, x2, y2, z2, x3, y3, z3];
objects[n].colors = ["black", "blue"];
there are n objects with m faces each. note that colors size is m
It takes: 0
Script:
objects[n].faces[m] = {vertices: {x1: x, y1: y, z1: z, x2: x, y2: y, z2: z, x3: x, y3: y, z3: z}, colors: "black"};
there are n objects with m faces each.
It takes: 0