29 lines
430 B
C
29 lines
430 B
C
|
#ifndef _RENDERING_TOOLS_BOUNDINGBOX_H_
|
||
|
#define _RENDERING_TOOLS_BOUNDINGBOX_H_
|
||
|
|
||
|
#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;
|
||
|
|
||
|
void boundingBoxReset(BoundingBox* box);
|
||
|
void boundingBoxPushPoint(BoundingBox* box, Vector3 point);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|