|
for(int i=0;i<2;i++)
{
patch = MeshManager::getSingleton().createBezierPatch(
"Bezier_zhubianshi"+StringConverter::toString(i), zhubianshi.patchCtlPoint_mian, patchDecl,3,3,0,0, PatchSurface::VS_BOTH);
}
报错是
d:\ogresdk\test\txt\txt\include\txt.h(241) : error C2664: “Ogre::MeshManager::createBezierPatch”: 不能将参数 2 从“PatchVertex *”转换为“const Ogre::String &”
1> 原因如下: 无法从“PatchVertex *”转换为“const Ogre::String”
1> 无构造函数可以接受源类型,或构造函数重载决策不明确
这是怎么回事啊,不明白3,3,0,0是什么意思,谁能解释一下呀 |
|