fix a bug in CreateCircle3DByIndexTrianges of InlineGeometry.cpp, that it's vertex_count error.
This commit is contained in:
14
.gitmodules
vendored
14
.gitmodules
vendored
@@ -1,21 +1,21 @@
|
||||
[submodule "CMCMakeModule"]
|
||||
path = CMCMakeModule
|
||||
url = https://github.com/hyzboy/CMCMakeModule
|
||||
url = http://www.hyzgame.com:3000/hyzboy/CMCMakeModule
|
||||
[submodule "CMCore"]
|
||||
path = CMCore
|
||||
url = https://github.com/hyzboy/CMCore
|
||||
url = http://www.hyzgame.com:3000/hyzboy/CMCore
|
||||
[submodule "CMPlatform"]
|
||||
path = CMPlatform
|
||||
url = https://github.com/hyzboy/CMPlatform
|
||||
url = http://www.hyzgame.com:3000/hyzboy/CMPlatform
|
||||
[submodule "CMAssetsManage"]
|
||||
path = CMAssetsManage
|
||||
url = https://github.com/hyzboy/CMAssetsManage.git
|
||||
url = http://www.hyzgame.com:3000/hyzboy/CMAssetsManage.git
|
||||
[submodule "res"]
|
||||
path = res
|
||||
url = https://github.com/hyzboy/RuntimeData.git
|
||||
url = http://www.hyzgame.com:3000/hyzboy/RuntimeData.git
|
||||
[submodule "CMSceneGraph"]
|
||||
path = CMSceneGraph
|
||||
url = https://github.com/hyzboy/CMSceneGraph.git
|
||||
url = http://www.hyzgame.com:3000/hyzboy/CMSceneGraph.git
|
||||
[submodule "CMUtil"]
|
||||
path = CMUtil
|
||||
url = https://github.com/hyzboy/CMUtil.git
|
||||
url = http://www.hyzgame.com:3000/hyzboy/CMUtil.git
|
||||
|
2
res
2
res
Submodule res updated: e1a36d78f0...008dbd5353
@@ -267,7 +267,7 @@ namespace hgl
|
||||
uint vertex_count;
|
||||
uint index_count;
|
||||
|
||||
vertex_count=cci->field_count;
|
||||
vertex_count=cci->field_count+1;
|
||||
index_count=(vertex_count-2)*3;
|
||||
|
||||
if(!pc->Init("Circle",vertex_count,index_count))return(nullptr);
|
||||
|
Reference in New Issue
Block a user