Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/graphics/importer/model.cc @ 6028

Last change on this file since 6028 was 6022, checked in by bensch, 19 years ago

orxonox/trunk: merged the NewModel branche back to the trunk.
merged with command
svn merge branches/newModel/ trunk/ -r 6016:HEAD
no conflicts

File size: 1001 bytes
RevLine 
[4744]1/*
[1853]2   orxonox - the future of 3D-vertical-scrollers
3
4   Copyright (C) 2004 orx
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 2, or (at your option)
9   any later version.
[1855]10
11   ### File Specific:
[6009]12   main-programmer: Patrick Boenzli
[1855]13   co-programmer: ...
[1853]14*/
15
[6009]16#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_MODEL
[1853]17
[6021]18#include "model.h"
[1853]19
[1856]20using namespace std;
[1853]21
[3245]22/**
[4838]23 * standard constructor
24 * @todo this constructor is not jet implemented - do it
[3245]25*/
[6021]26Model::Model()
[3365]27{
[6009]28//   this->setClassID(CL_PROTO_ID, "ProtoClass");
29  this->pModelInfo.numVertices = 0;
30  this->pModelInfo.numTriangles = 0;
31  this->pModelInfo.numTexCoor = 0;
[4320]32
[6009]33  this->pModelInfo.pVertices = NULL;
34  this->pModelInfo.pTriangles = NULL;
35  this->pModelInfo.pNormals = NULL;
36  this->pModelInfo.pTexCoor = NULL;
[3365]37}
[1853]38
39
[3245]40/**
[4838]41 * standard deconstructor
[3245]42*/
[6021]43Model::~Model()
[3543]44{
45  // delete what has to be deleted here
46}
Note: See TracBrowser for help on using the repository browser.