// Author : Chris Tolley
// Date   : 1/14/2003
// ms3d.h contains the class declaration for a class which loads and displays
// an ms3d file.  ms3d files are created with MilkShape3d

#ifndef MS3D_H
#define MS3D_H

#include "ms3dUtilities.h"
#include <vector>
using std::vector;

class ms3d
{
public:
	// Constructor
	ms3d(const char* ms3dFile);

	// Destructor
	virtual ~ms3d() {};

	// Draws the model with texture in it's natural position
	void DrawTexturedMesh();
private:
	// A vector to hold the points
	vector<ms3dVertex> points_;

	// A vector to hold the triangle information
	vector<ms3dTriangle> triangles_;

	// A vector to hold the mesh data.
	vector<ms3dMesh> meshData_;

	// A vector to hold the material data
	vector<ms3dMaterial> materialData_;

	// The joints of the model
	vector< ms3dJoint > joints_;
};

#endif