mirror of https://github.com/CGAL/cgal
Keep non const version for non header version (TRANSLATION, ROTATION, SCALING, REFLECTION, IDENTITY and primes)
This commit is contained in:
parent
6ebeb41dbf
commit
87968c0b6e
|
|
@ -38,11 +38,11 @@ class Identity_transformation {};
|
||||||
|
|
||||||
#ifndef CGAL_HEADER_ONLY
|
#ifndef CGAL_HEADER_ONLY
|
||||||
|
|
||||||
CGAL_EXPORT extern const Translation TRANSLATION;
|
CGAL_EXPORT extern Translation TRANSLATION;
|
||||||
CGAL_EXPORT extern const Rotation ROTATION;
|
CGAL_EXPORT extern Rotation ROTATION;
|
||||||
CGAL_EXPORT extern const Scaling SCALING;
|
CGAL_EXPORT extern Scaling SCALING;
|
||||||
CGAL_EXPORT extern const Reflection REFLECTION;
|
CGAL_EXPORT extern Reflection REFLECTION;
|
||||||
CGAL_EXPORT extern const Identity_transformation IDENTITY;
|
CGAL_EXPORT extern Identity_transformation IDENTITY;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,10 +24,22 @@
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
|
#ifdef CGAL_HEADER_ONLY
|
||||||
|
|
||||||
const Translation TRANSLATION;
|
const Translation TRANSLATION;
|
||||||
const Rotation ROTATION;
|
const Rotation ROTATION;
|
||||||
const Scaling SCALING;
|
const Scaling SCALING;
|
||||||
const Reflection REFLECTION;
|
const Reflection REFLECTION;
|
||||||
const Identity_transformation IDENTITY;
|
const Identity_transformation IDENTITY;
|
||||||
|
|
||||||
|
#else // CGAL_HEADER_ONLY
|
||||||
|
|
||||||
|
Translation TRANSLATION;
|
||||||
|
Rotation ROTATION;
|
||||||
|
Scaling SCALING;
|
||||||
|
Reflection REFLECTION;
|
||||||
|
Identity_transformation IDENTITY;
|
||||||
|
|
||||||
|
#endif // CGAL_HEADER_ONLY
|
||||||
|
|
||||||
} //namespace CGAL
|
} //namespace CGAL
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
#ifndef CGAL_HEADER_ONLY
|
#ifndef CGAL_HEADER_ONLY
|
||||||
CGAL_EXPORT extern const int primes[2000];
|
CGAL_EXPORT extern int primes[2000];
|
||||||
#endif // CGAL_HEADER_ONLY
|
#endif // CGAL_HEADER_ONLY
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue