Back to index

nux  3.0.0
Classes | Namespaces | Defines | Functions
MeshFileLoader-OBJ.cpp File Reference
#include "GLResource.h"
#include "MeshFileLoader-OBJ.h"
#include "MeshData.h"
#include "NuxCore/Math/Vector3.h"
#include "NuxCore/Math/Vector2.h"

Go to the source code of this file.

Classes

struct  nux::ObjMeshVertex
struct  nux::ObjMeshFace
struct  nux::ObjMesh
struct  nux::_ObjMeshFaceIndex

Namespaces

namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.

Defines

#define TOKEN_VERTEX_POS   "v"
#define TOKEN_VERTEX_NOR   "vn"
#define TOKEN_VERTEX_TEX   "vt"
#define TOKEN_FACE   "f"

Functions

MeshData * nux::LoadMeshFile_OBJ (const char *filename)

Class Documentation

struct nux::ObjMeshVertex

Definition at line 15 of file MeshFileLoader-OBJ.cpp.

Collaboration diagram for nux::ObjMeshVertex:
Class Members
Vector3 normal
Vector3 pos
Vector2 texcoord
struct nux::ObjMeshFace

Definition at line 23 of file MeshFileLoader-OBJ.cpp.

Collaboration diagram for nux::ObjMeshFace:
Class Members
ObjMeshVertex vertices
struct nux::ObjMesh

Definition at line 29 of file MeshFileLoader-OBJ.cpp.

Collaboration diagram for nux::ObjMesh:
Class Members
vector< ObjMeshFace > faces
struct nux::_ObjMeshFaceIndex

Definition at line 35 of file MeshFileLoader-OBJ.cpp.

Class Members
int nor_index
int pos_index
int tex_index

Define Documentation

#define TOKEN_FACE   "f"

Definition at line 13 of file MeshFileLoader-OBJ.cpp.

#define TOKEN_VERTEX_NOR   "vn"

Definition at line 11 of file MeshFileLoader-OBJ.cpp.

#define TOKEN_VERTEX_POS   "v"

Definition at line 10 of file MeshFileLoader-OBJ.cpp.

#define TOKEN_VERTEX_TEX   "vt"

Definition at line 12 of file MeshFileLoader-OBJ.cpp.