Mercurial > mm7
comparison Engine/Graphics/BSPModel.cpp @ 2496:5abd8fc8f1c6
for ITEM_ARTIFACT_LADYS_ESCORT
author | Ritor1 |
---|---|
date | Thu, 18 Sep 2014 17:38:54 +0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2495:7b076fe64f23 | 2496:5abd8fc8f1c6 |
---|---|
1 #define _CRTDBG_MAP_ALLOC | |
2 #include <stdlib.h> | |
3 #include <crtdbg.h> | |
4 | |
5 #define _CRT_SECURE_NO_WARNINGS | |
6 #include <stdlib.h> | |
7 | |
8 #include "BSPModel.h" | |
9 | |
10 | |
11 | |
12 //----- (00478389) -------------------------------------------------------- | |
13 void BSPModel::Release() | |
14 { | |
15 free(this->pVertices.pVertices); | |
16 this->pVertices.pVertices = 0; | |
17 free(this->pFaces); | |
18 this->pFaces = nullptr; | |
19 free(this->pFacesOrdering); | |
20 this->pFacesOrdering = nullptr; | |
21 free(this->pNodes); | |
22 this->pNodes = nullptr; | |
23 this->uNumNodes = 0; | |
24 this->uNumFaces = 0; | |
25 this->pVertices.uNumVertices = 0; | |
26 this->uNumConvexFaces = 0; | |
27 } |