2013-06-27 09:46:18 +00:00
|
|
|
#ifndef _RENDERING_TOOLS_BOUNDINGBOX_H_
|
|
|
|
#define _RENDERING_TOOLS_BOUNDINGBOX_H_
|
|
|
|
|
2013-10-20 14:47:59 +00:00
|
|
|
#include "../rendering_global.h"
|
2013-06-27 09:46:18 +00:00
|
|
|
#include "euclid.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int empty;
|
|
|
|
double xmin;
|
|
|
|
double xmax;
|
|
|
|
double ymin;
|
|
|
|
double ymax;
|
|
|
|
double zmin;
|
|
|
|
double zmax;
|
|
|
|
} BoundingBox;
|
|
|
|
|
2013-10-20 14:47:59 +00:00
|
|
|
RENDERINGSHARED_EXPORT void boundingBoxReset(BoundingBox* box);
|
|
|
|
RENDERINGSHARED_EXPORT void boundingBoxPushPoint(BoundingBox* box, Vector3 point);
|
2013-06-27 09:46:18 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|