Change this line:
osg::Vec3Array* coords = new osg::Vec3Array(6);
to:
osg::Vec3Array* coords = new osg::Vec3Array();
You are creating an array with 6 elements, then pushing 6 more. -gw
On 7/13/07, Carlos Nava <[EMAIL PROTECTED]> wrote:
Sorry for bothering with this simple problem, but I got
Sorry for bothering with this simple problem, but I got arround every warning I
had, and now the problem is that I can see the central model, but I can't see
the planes that should be sorrounding it...
Here's the code and thanks for any help you can provide
#include
#include
#include
#includ