Browse Source

Work-around preprocessor issues on Windows.

I hate windows.h.
pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
99be617278
  1. 5
      src/Math/Matrix4.h
  2. 5
      src/SceneGraph/Camera3D.h

5
src/Math/Matrix4.h

@ -22,6 +22,11 @@
#include "Matrix.h"
#include "Point3D.h"
#ifdef WIN32 /* I so HATE windows.h */
#undef near
#undef far
#endif
namespace Magnum { namespace Math {
/**

5
src/SceneGraph/Camera3D.h

@ -21,11 +21,6 @@
#include "AbstractCamera.h"
#ifdef WIN32 /* I so HATE windows.h */
#undef near
#undef far
#endif
namespace Magnum { namespace SceneGraph {
/**

Loading…
Cancel
Save