Mercurial > mm7
comparison BSPModel.cpp @ 2376:bcd7fadbf7d2
Слияние
author | Ritor1 |
---|---|
date | Mon, 12 May 2014 12:28:06 +0600 |
parents | bddcaf5d5db2 |
children | f4af3b203f65 |
comparison
equal
deleted
inserted
replaced
2375:14c05b876218 | 2376:bcd7fadbf7d2 |
---|---|
9 void BSPModel::Release() | 9 void BSPModel::Release() |
10 { | 10 { |
11 free(this->pVertices.pVertices); | 11 free(this->pVertices.pVertices); |
12 this->pVertices.pVertices = 0; | 12 this->pVertices.pVertices = 0; |
13 free(this->pFaces); | 13 free(this->pFaces); |
14 this->pFaces = 0; | 14 this->pFaces = nullptr; |
15 free(this->pFacesOrdering); | 15 free(this->pFacesOrdering); |
16 this->pFacesOrdering = 0; | 16 this->pFacesOrdering = nullptr; |
17 free(this->pNodes); | 17 free(this->pNodes); |
18 this->pNodes = 0; | 18 this->pNodes = nullptr; |
19 this->uNumNodes = 0; | 19 this->uNumNodes = 0; |
20 this->uNumFaces = 0; | 20 this->uNumFaces = 0; |
21 this->pVertices.uNumVertices = 0; | 21 this->pVertices.uNumVertices = 0; |
22 this->uNumConvexFaces = 0; | 22 this->uNumConvexFaces = 0; |
23 } | 23 } |