#include <windows.h>
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include <math.h>
#include "types.h"
#include "functions.h"
#include "constants.h"
Defines | |
#define | NOMINMAX |
Functions | |
int | BeginWithZero (model_t *model) |
decerement all vertex indexes in faces | |
int | mapmaterial (std::string str, model_t *m) |
get the index of an integer in a vector | |
int | parsematerial (std::string filename, model_t *model) |
load obj model from a file | |
int | parseface (char str[256], model_t *model, int mat) |
int | loadOBJ (std::string filename, model_t *model) |
load keyframes from a file | |
int | mapvertices (skeleton_t *skeleton, model_t *model) |
int | createvertexmapping (model_t *model, bone_t *root) |
skin mesh | |
int | loadvertexmapping (std::string filename, model_t *model) |
parse mtl file |
#define NOMINMAX |
int BeginWithZero | ( | model_t * | model | ) |
decerement all vertex indexes in faces
outline all vertices that are associated with a bone
int loadOBJ | ( | std::string | filename, | |
model_t * | model | |||
) |
load keyframes from a file
int loadvertexmapping | ( | std::string | filename, | |
model_t * | model | |||
) |
parse mtl file
int mapmaterial | ( | std::string | str, | |
model_t * | m | |||
) |
get the index of an integer in a vector
int mapvertices | ( | skeleton_t * | skeleton, | |
model_t * | model | |||
) |
int parseface | ( | char | str[256], | |
model_t * | model, | |||
int | mat | |||
) |
int parsematerial | ( | std::string | filename, | |
model_t * | model | |||
) |
load obj model from a file