/usr/include/Nux-4.0/NuxGraphics/MeshData.h is in libnux-4.0-dev 4.0.6+14.04.20140409-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #ifndef MESHDATA_H
#define MESHDATA_H
namespace nux
{
enum NuxMeshPrimitiveType
{
NUX_MESH_PRIMITIVE_UNKNOWN = 0,
NUX_MESH_TRIANGLE,
NUX_MESH_TRIANGLE_STRIP,
NUX_MESH_TRIANGLE_FAN,
NUX_MESH_LINE,
NUX_MESH_LINE_STRIP,
NUX_MESH_LINE_LOOP,
NUX_MESH_POINT,
NUX_MESH_QUAD,
NUX_MESH_QUAD_STRIP,
};
class MeshData
{
public:
MeshData();
~MeshData();
bool Allocate(int num_mesh_primitive, NuxMeshPrimitiveType primitive_type, int num_elements, int element_size);
public:
unsigned char* _vertex_data;
unsigned char* _index_data;
NuxMeshPrimitiveType _mesh_primitive_type;
int _num_element;
int _element_size;
int _num_index;
int _index_size;
};
}
#endif // MESHDATA_H
|