#ifndef MESH_H
#define MESH_H

// LIBRARY INCLUDES
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
// PROGRAM INCLUDES
#include "primitives.h"

class mesh
{
	public:
		mesh();
		~mesh();
		void initVertArray(long);
		void initNormArray(long);
		void initTriArray(long);

		vertex *vertices;		
		point *normals;
		triangle *triangles;
		std::string name;
		int flags;
		int materialIndex;
		int vertCount;
		int normCount;
		int triCount;

};

#endif // MESH_H
