comparison Indoor.h @ 2369:bddcaf5d5db2

removing non-nullptr conditions before frees, chaning 0 and NULL assignmnets to pointers to nullptr assignments
author Grumpy7
date Mon, 12 May 2014 01:50:32 +0200
parents eb136041adf1
children 9f30d514cdd2
comparison
equal deleted inserted replaced
2368:91b6c0a338ad 2369:bddcaf5d5db2
260 inline BLVFace() 260 inline BLVFace()
261 { 261 {
262 this->uNumVertices = 0; 262 this->uNumVertices = 0;
263 this->uAttributes = 0; 263 this->uAttributes = 0;
264 this->uFaceExtraID = 0; 264 this->uFaceExtraID = 0;
265 this->pVertexIDs = 0; 265 this->pVertexIDs = nullptr;
266 this->pZInterceptDisplacements = 0; 266 this->pZInterceptDisplacements = nullptr;
267 this->pYInterceptDisplacements = 0; 267 this->pYInterceptDisplacements = nullptr;
268 this->pXInterceptDisplacements = 0; 268 this->pXInterceptDisplacements = nullptr;
269 } 269 }
270 270
271 void _get_normals(Vec3_int_ *a2, Vec3_int_ *a3); 271 void _get_normals(Vec3_int_ *a2, Vec3_int_ *a3);
272 struct Texture *GetTexture(); 272 struct Texture *GetTexture();
273 void FromODM(struct ODMFace *face); 273 void FromODM(struct ODMFace *face);