#include <windows.h>
#include <iostream>
#include <fstream>
#include <string>
#include <GL/gl.h>
#include <GL/glu.h>
#include "types.h"
#include "functions.h"
#include "constants.h"
Defines | |
#define | NOMINMAX |
Functions | |
int | reboundmodel (model_t *model) |
check a collision between two bounding boxes | |
int | resetbounds (vec3f bounds[8], vec3f *minvalues, vec3f *maxvalues) |
transform a bones bounding box | |
int | getminima (vec3f bounds[8], vec3f *result) |
display a boundingbox | |
int | getmaxima (vec3f bounds[8], vec3f *result) |
int | transformboundingbox (bone_t *root) |
int | drawboundingbox (boundingbox_t *boundingbox) |
reset boundingbox to inital values | |
int | checkcollision (boundingbox_t *box1, boundingbox_t *box2) |
#define NOMINMAX |
int checkcollision | ( | boundingbox_t * | box1, | |
boundingbox_t * | box2 | |||
) |
int drawboundingbox | ( | boundingbox_t * | boundingbox | ) |
reset boundingbox to inital values
int reboundmodel | ( | model_t * | model | ) |
check a collision between two bounding boxes
transform a bones bounding box
int transformboundingbox | ( | bone_t * | root | ) |