node->getBound().center() * osg::computeLocalToWorld(node->getParentalNodePaths()[0])
osg::Vec3f vec3f1 = hNode2->getBound().center(); osg::NodePathList nodePAthList1 = hNode2->getParentalNodePaths(0);
不知为啥,
hNode2->getParentalNodePaths(0);一直报错
Program: ...laManageProject\TeslaManage\x64\Debug\TeslaManage20191001.exe
File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
Line: 980
Expression: __acrt_first_block == header
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
原文地址:https://www.cnblogs.com/herd/p/11618440.html
时间: 2024-11-14 11:34:22