view BSPModel.cpp @ 2251:47bcb700b74b

for StackLight_TerrainFace
author Ritor1
date Wed, 26 Feb 2014 20:10:43 +0600
parents 75fafd8ced59
children 2e02c384c62b
line wrap: on
line source

#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;
}