From 5f836e0c319c59d1e3163ec2591d92e7dd0f23df Mon Sep 17 00:00:00 2001 From: David Williams Date: Fri, 31 Aug 2007 20:32:05 +0000 Subject: [PATCH] Refactoring work... working on meshes --- source/SurfacePatch.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/SurfacePatch.cpp b/source/SurfacePatch.cpp index e7dc9917..2a358d63 100644 --- a/source/SurfacePatch.cpp +++ b/source/SurfacePatch.cpp @@ -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)]; 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)