Refactoring work... working on meshes
This commit is contained in:
parent
c52dbe123d
commit
5f836e0c31
@ -29,10 +29,6 @@ namespace Ogre
|
|||||||
{
|
{
|
||||||
vertexIndices = new long int [(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)];
|
vertexIndices = new long int [(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)];
|
||||||
memset(vertexIndices,0xFF,sizeof(long int)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)); //0xFF is -1 as two's complement - this may not be portable...
|
memset(vertexIndices,0xFF,sizeof(long int)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)); //0xFF is -1 as two's complement - this may not be portable...
|
||||||
/*for(unsigned long ct = 0;ct < (OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1)*(OGRE_REGION_SIDE_LENGTH*2+1); ct ++)
|
|
||||||
{
|
|
||||||
vertexIndices[ct] = -1;
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SurfacePatch::endDefinition(void)
|
void SurfacePatch::endDefinition(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user