Mercurial > mm7
annotate BSPModel.cpp @ 2254:2e02c384c62b
Merge
author | Grumpy7 |
---|---|
date | Wed, 26 Feb 2014 23:35:46 +0100 |
parents | aff7a7b072b7 47bcb700b74b |
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 } |