Hi, Newbe, sorry if my questions are lame...
i have been pulling my hair out trying to get this to work...
Can anyone tell me (1) if its possible and (2) if so where am i going wrong
All i am trying to do is create a section of a scene graph in my own class
called World but i get a segfault. here is the general idea...
Class World {
public:
World();
NodePtr getRoot();
private:
NodePtr root;
}
World::World() {
this->root = makeSphere(2,2);
}
NodePtr World::getRoot() {
return this->root;
}
Then the top of my scene graph in the application has
scene->addChild(w.getRoot());
where w is an instance of World...
I get a SEGFAULT when calling makeSphere() and i haven't got a clue why.
Drew
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users