Mercurial > mm7
annotate BSPModel.cpp @ 2331:9551756f46c4
Moving functions out of mm7_6.cpp into appropriate classes as static methods or free functions
author | Grumpy7 |
---|---|
date | Wed, 02 Apr 2014 01:21:05 +0200 |
parents | 2e02c384c62b |
children | bddcaf5d5db2 |
rev | line source |
---|---|
2253
aff7a7b072b7
adding _CRT_SECURE_NO_WARNINGS to get rid of a few hundrer annoying warnings + adding count parameter to swprintf
Grumpy7
parents:
1583
diff
changeset
|
1 #define _CRT_SECURE_NO_WARNINGS |
1583 | 2 #include <stdlib.h> |
3 | |
0 | 4 #include "BSPModel.h" |
5 | |
6 | |
7 | |
8 //----- (00478389) -------------------------------------------------------- | |
9 void BSPModel::Release() | |
10 { | |
2251 | 11 free(this->pVertices.pVertices); |
12 this->pVertices.pVertices = 0; | |
13 free(this->pFaces); | |
14 this->pFaces = 0; | |
15 free(this->pFacesOrdering); | |
16 this->pFacesOrdering = 0; | |
17 free(this->pNodes); | |
18 this->pNodes = 0; | |
19 this->uNumNodes = 0; | |
20 this->uNumFaces = 0; | |
21 this->pVertices.uNumVertices = 0; | |
22 this->uNumConvexFaces = 0; | |
0 | 23 } |