- Timestamp:
- 05/17/06 19:00:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/src/BBCColladaMeshSerializer.cpp
r958 r969 82 82 void ColladaMeshSerializer::exportSubMesh(MeshPtr pMesh, unsigned int iSubEntity) 83 83 { 84 bool hasVertexColo urs = mEntity->getSubEntity(iSubEntity)->hasVertexColours();84 bool hasVertexColors = mEntity->getSubEntity(iSubEntity)->hasVertexColors(); 85 85 bool hasNormals = mEntity->getSubEntity(iSubEntity)->hasNormals(); 86 86 … … 100 100 } 101 101 102 if (hasVertexColo urs)102 if (hasVertexColors) 103 103 { 104 104 Ogre::ColourValue color; 105 Ogre::RGBA rc = mEntity->getSubEntity(iSubEntity)->getVertexColo ur(iVertex);105 Ogre::RGBA rc = mEntity->getSubEntity(iSubEntity)->getVertexColor(iVertex); 106 106 107 107 color.b = (rc & 0xFF) / 255.0f; rc >>= 8; … … 110 110 color.a = (rc & 0xFF) / 255.0f; 111 111 112 //color.setAsARGB(mEntity->getSubEntity(iSubEntity)->getVertexColo ur(iVertex));112 //color.setAsARGB(mEntity->getSubEntity(iSubEntity)->getVertexColor(iVertex)); 113 113 mFloatColorList.push_back(color.r); 114 114 mFloatColorList.push_back(color.g); … … 177 177 } 178 178 179 if (hasVertexColo urs)179 if (hasVertexColors) 180 180 { 181 181 if (iSubEntity == (mEntity->getNumSubEntities() - 1))
Note: See TracChangeset
for help on using the changeset viewer.