MCPcopy Create free account
hub / github.com/OGRECave/ogre / createSubMesh

Method createSubMesh

OgreMain/src/OgreMesh.cpp:93–104  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

91 }
92 //-----------------------------------------------------------------------
93 SubMesh* Mesh::createSubMesh()
94 {
95 SubMesh* sub = OGRE_NEW SubMesh();
96 sub->parent = this;
97
98 mSubMeshList.push_back(sub);
99
100 if (isLoaded())
101 _dirtyState();
102
103 return sub;
104 }
105 //-----------------------------------------------------------------------
106 SubMesh* Mesh::createSubMesh(const String& name)
107 {

Callers 15

createConvexHullMeshMethod · 0.45
loadImplMethod · 0.45
convertToMeshMethod · 0.45
createPlaneMethod · 0.45
createCubeMethod · 0.45
createSphereMethod · 0.45
loadManualPlaneMethod · 0.45
loadManualCurvedPlaneMethod · 0.45
readSubMeshMethod · 0.45
cloneMethod · 0.45
createSphereMethod · 0.45

Calls 4

SubMeshClass · 0.50
isLoadedFunction · 0.50
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected