Subversion Repositories gelsvn

Rev

Rev 375 | Rev 567 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 375 Rev 419
Line 1... Line 1...
1
#ifndef __MINI_MESH_H
1
#ifndef __MINI_MESH_H
2
#define __MINI_MESH_H
2
#define __MINI_MESH_H
3
 
3
 
-
 
4
#include <CGLA/Mat4x4f.h>
4
#include "IndexedFaceSet.h"
5
#include "IndexedFaceSet.h"
5
#include "Material.h"
6
#include "Material.h"
6
 
7
 
7
namespace Geometry
8
namespace Geometry
8
{
9
{
Line 61... Line 62...
61
		int find_material(const std::string&) const;
62
		int find_material(const std::string&) const;
62
 
63
 
63
		/// Compute normals for the mesh. Does not check if there are normals.
64
		/// Compute normals for the mesh. Does not check if there are normals.
64
		void compute_normals();
65
		void compute_normals();
65
 
66
 
-
 
67
    /// Apply a transformation matrix to the mesh
-
 
68
    void transform(CGLA::Mat4x4f m);
66
	};
69
	};
67
 
70
 
68
 
71
 
69
}
72
}
70
#endif
73
#endif