//********************************************************************************//
// //
// - "Talk to me like I'm a 3 year old!" Programming Lessons - //
// //
// $Author: DigiBen digiben@gametutorials.com //
// //
// $Program: GT Loader //
// //
// $Description: Loads the GT Skeletal Animation format .GTF //
// //
//********************************************************************************//
#include "main.h"
#include "gtf.h"
//////////// *** NEW *** ////////// *** NEW *** ///////////// *** NEW *** ////////////////////
// In this file we fill in the functions for our loader and model class.
// There is nothing complicated in this file. We just load the data from
// the file and go through all the objects and render their vertices.
// In the next tutorial we will handle the materials and UV coordinates.
///////////////////////////////// CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
/////
///// This is our CModelGTF constructor
/////
///////////////////////////////// CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
CModelGTF::CModelGTF()
{
}
///////////////////////////////// ~CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
/////
///// This is our CModelGTF deconstructor
/////
///////////////////////////////// ~CMODEL GTF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*
CModelGTF::~CModelGTF()
{
// Free all the model data
DestroyModel();
}