Code: Select all
std::cout <<"ended \n";
Code: Select all
std::cout <<a.tcount<<"ended \n";
where a.tcount is just a long double, not a method.
and it crashes at that line
Code: Select all
nodes[i]= sll->addSphereSceneNode(1);
but if i replaced my first code(the one that caused theproblem, with this code:
Code: Select all
std::cout <<a.tcount<<"ended \n"; std::cout <<a.tcount<<"ended \n";