Am I missing something or is the Triangle class having issues? Try running this code for example:
Group *model = new Group();
model->add(new Triangle(matl, Point(0,0,0), Point(2,2,0), Point(0,2,0)));
model->add(new Triangle(matl, Point(0,2,0), Point(2,2,0), Point(0,0,0)));
group->add(model);
I would expect the output to be two triangles in the same spot, but instead I see the second triangle shifted away.
I was under the impression though that this was working fine yesterday, so I'm not sure if maybe it's because I'm running this on a different system. In any case, any ideas on whether it's me or the code?
Thanks,
Thiago
Archive powered by MHonArc 2.6.16.