Assimp
v4.1. (December 2018)
|
Macros | |
#define | aisgl_max(x, y) (y>x?y:x) |
#define | aisgl_min(x, y) (x<y?x:y) |
Functions | |
void | apply_material (const struct aiMaterial *mtl) |
void | color4_to_float4 (const struct aiColor4D *c, float f[4]) |
void | display (void) |
void | do_motion (void) |
void | get_bounding_box (struct aiVector3D *min, struct aiVector3D *max) |
void | get_bounding_box_for_node (const struct aiNode *nd, struct aiVector3D *min, struct aiVector3D *max, struct aiMatrix4x4 *trafo) |
int | loadasset (const char *path) |
int | main (int argc, char **argv) |
void | recursive_render (const struct aiScene *sc, const struct aiNode *nd) |
void | reshape (int width, int height) |
void | set_float4 (float f[4], float a, float b, float c, float d) |
Variables | |
static float | angle = 0.f |
const struct aiScene * | scene = NULL |
struct aiVector3D scene_min scene_max | scene_center |
GLuint | scene_list = 0 |
#define aisgl_max | ( | x, | |
y | |||
) | (y>x?y:x) |
#define aisgl_min | ( | x, | |
y | |||
) | (x<y?x:y) |
void apply_material | ( | const struct aiMaterial * | mtl | ) |
void color4_to_float4 | ( | const struct aiColor4D * | c, |
float | f[4] | ||
) |
void display | ( | void | ) |
void do_motion | ( | void | ) |
void get_bounding_box | ( | struct aiVector3D * | min, |
struct aiVector3D * | max | ||
) |
void get_bounding_box_for_node | ( | const struct aiNode * | nd, |
struct aiVector3D * | min, | ||
struct aiVector3D * | max, | ||
struct aiMatrix4x4 * | trafo | ||
) |
int loadasset | ( | const char * | path | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
void reshape | ( | int | width, |
int | height | ||
) |
void set_float4 | ( | float | f[4], |
float | a, | ||
float | b, | ||
float | c, | ||
float | d | ||
) |
|
static |
const struct aiScene* scene = NULL |
struct aiVector3D scene_min scene_max scene_center |
GLuint scene_list = 0 |