2013-10-29 20:28:59 +00:00
|
|
|
#ifndef BASICS_GLOBAL_H
|
|
|
|
#define BASICS_GLOBAL_H
|
|
|
|
|
2015-11-18 18:37:00 +00:00
|
|
|
#include "system_global.h"
|
|
|
|
|
2013-11-09 17:46:34 +00:00
|
|
|
#if defined(BASICS_LIBRARY)
|
2015-11-09 21:30:46 +00:00
|
|
|
#define BASICSSHARED_EXPORT Q_DECL_EXPORT
|
2013-10-29 20:28:59 +00:00
|
|
|
#else
|
2015-11-09 21:30:46 +00:00
|
|
|
#define BASICSSHARED_EXPORT Q_DECL_IMPORT
|
2013-10-29 20:28:59 +00:00
|
|
|
#endif
|
|
|
|
|
2013-11-11 12:56:39 +00:00
|
|
|
namespace paysages {
|
|
|
|
namespace basics {
|
2015-11-09 21:30:46 +00:00
|
|
|
class Vector3;
|
|
|
|
class Matrix4;
|
|
|
|
class BoundingBox;
|
|
|
|
class SpaceGridIterator;
|
|
|
|
class SpaceSegment;
|
|
|
|
class Color;
|
|
|
|
class NoiseGenerator;
|
|
|
|
class NoiseState;
|
|
|
|
class FractalNoise;
|
|
|
|
class Curve;
|
|
|
|
class ColorProfile;
|
|
|
|
class Texture2D;
|
|
|
|
class Texture3D;
|
|
|
|
class Texture4D;
|
|
|
|
class CappedCylinder;
|
|
|
|
class InfiniteRay;
|
|
|
|
class Sphere;
|
|
|
|
class InfinitePlane;
|
2013-11-11 12:56:39 +00:00
|
|
|
}
|
2013-10-29 20:28:59 +00:00
|
|
|
}
|
2013-11-03 14:46:39 +00:00
|
|
|
using namespace paysages::basics;
|
2013-10-29 20:28:59 +00:00
|
|
|
|
2014-03-01 00:34:34 +00:00
|
|
|
#ifndef M_PI
|
|
|
|
#define M_PI 3.14159265358979323846
|
|
|
|
#endif
|
|
|
|
#ifndef M_PI_2
|
|
|
|
#define M_PI_2 1.57079632679489661923
|
|
|
|
#endif
|
|
|
|
#ifndef M_PI_4
|
|
|
|
#define M_PI_4 0.78539816339744830962
|
|
|
|
#endif
|
2015-10-15 17:51:24 +00:00
|
|
|
#ifndef M_2PI
|
|
|
|
#define M_2PI 6.28318530717958647692
|
|
|
|
#endif
|
2014-03-01 00:34:34 +00:00
|
|
|
|
2013-10-29 20:28:59 +00:00
|
|
|
#endif // BASICS_GLOBAL_H
|