|
osg::Vec3Array *delta = new osg::Vec3Array;
delta->push_back(osg::Vec3 (-162,-207,120));
delta->push_back(osg::Vec3 (-22,-274,100));
delta->push_back(osg::Vec3 (-30,-324,90));
delta->push_back(osg::Vec3 (-49,-297,105));
delta->push_back(osg::Vec3 (55,-211,110));
osg::Vec3Array::iterator itr=delta->begin();
这段代码做什么的啊?特别是最后一句不知道什么意思。osg3.0的DOC根本没有Vec3Array的描述。另外请教下各位大神,有没有关于OSG类和函数的详细文档,OSG自带的DOC太烂了,根本说不清楚。如果有详细的文档,新手能上手快些啊。麻烦帮帮啦,感激不尽。
|
|