paysages3d/src/rendering/tools/boundingbox.h

29 lines
430 B
C
Raw Normal View History

#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