paysages3d/src/rendering/tools/boundingbox.h
Michaël Lemaire e82e0c47bd Added win32 DLL support everywhere
Build is now entirely possible from a fresh QtSDK install,
with no external dependency.
2013-10-20 16:47:59 +02:00

29 lines
509 B
C

#ifndef _RENDERING_TOOLS_BOUNDINGBOX_H_
#define _RENDERING_TOOLS_BOUNDINGBOX_H_
#include "../rendering_global.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;
RENDERINGSHARED_EXPORT void boundingBoxReset(BoundingBox* box);
RENDERINGSHARED_EXPORT void boundingBoxPushPoint(BoundingBox* box, Vector3 point);
#ifdef __cplusplus
}
#endif
#endif