Mercurial > mm7
view BSPModel.cpp @ 2327:5e4d90305d06
EventCastSpell removing duplicate code for handling empty pObjectList->pObjects array or not finding the correct value + moving everything into the main switch
author | Grumpy7 |
---|---|
date | Tue, 01 Apr 2014 23:20:15 +0200 |
parents | 2e02c384c62b |
children | bddcaf5d5db2 |
line wrap: on
line source
#define _CRT_SECURE_NO_WARNINGS #include <stdlib.h> #include "BSPModel.h" //----- (00478389) -------------------------------------------------------- void BSPModel::Release() { free(this->pVertices.pVertices); this->pVertices.pVertices = 0; free(this->pFaces); this->pFaces = 0; free(this->pFacesOrdering); this->pFacesOrdering = 0; free(this->pNodes); this->pNodes = 0; this->uNumNodes = 0; this->uNumFaces = 0; this->pVertices.uNumVertices = 0; this->uNumConvexFaces = 0; }