Defines | Functions

D:/Shootemup/Toolbox/AnimationEditor/Dialog/collisiondetection.cpp File Reference

#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 Documentation

#define NOMINMAX

Function Documentation

int checkcollision ( boundingbox_t box1,
boundingbox_t box2 
)
int drawboundingbox ( boundingbox_t boundingbox  ) 

reset boundingbox to inital values

int getmaxima ( vec3f  bounds[8],
vec3f result 
)
int getminima ( vec3f  bounds[8],
vec3f result 
)

display a boundingbox

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 transformboundingbox ( bone_t root  ) 
 All Classes Files Functions Variables Enumerator Defines