2013年3月25日

摘要: StaticGeometry添加的实体要用索引形式的三角形来构建。否则程序出错。ManualObject* manual = mSceneMgr->createManualObject("grass"); manual->begin("Examples/GrassBlades", RenderOperation::OT_TRIANGLE_LIST); //6 manual->position(5.0, 0.0, 0.0); manual->textureCoord(1, 1); manual->position(-5.0, 阅读全文
posted @ 2013-03-25 13:26 shizuka 阅读(315) 评论(0) 推荐(0) 编辑

导航