游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1329|回复: 0

无法从“PatchVertex *”转换为“const Ogre::String”

[复制链接]

7

主题

11

帖子

11

积分

新手上路

Rank: 1

积分
11
发表于 2010-6-17 18:14:00 | 显示全部楼层 |阅读模式
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是什么意思,谁能解释一下呀
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-6-8 13:49

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表