mirror of https://github.com/CGAL/cgal
According the modifs in master, variables TRANSLATION ROTATION SCALING REFLECTION IDENTITY are always const.
This commit is contained in:
parent
ff79502a72
commit
d96bdd9d4b
|
|
@ -38,11 +38,11 @@ class Identity_transformation {};
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
CGAL_EXPORT extern Translation TRANSLATION;
|
||||
CGAL_EXPORT extern Rotation ROTATION;
|
||||
CGAL_EXPORT extern Scaling SCALING;
|
||||
CGAL_EXPORT extern Reflection REFLECTION;
|
||||
CGAL_EXPORT extern Identity_transformation IDENTITY;
|
||||
CGAL_EXPORT extern const Translation TRANSLATION;
|
||||
CGAL_EXPORT extern const Rotation ROTATION;
|
||||
CGAL_EXPORT extern const Scaling SCALING;
|
||||
CGAL_EXPORT extern const Reflection REFLECTION;
|
||||
CGAL_EXPORT extern const Identity_transformation IDENTITY;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -24,22 +24,10 @@
|
|||
|
||||
namespace CGAL {
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
|
||||
const Translation TRANSLATION;
|
||||
const Rotation ROTATION;
|
||||
const Scaling SCALING;
|
||||
const Reflection REFLECTION;
|
||||
const Identity_transformation IDENTITY;
|
||||
|
||||
#else // CGAL_HEADER_ONLY
|
||||
|
||||
Translation TRANSLATION;
|
||||
Rotation ROTATION;
|
||||
Scaling SCALING;
|
||||
Reflection REFLECTION;
|
||||
Identity_transformation IDENTITY;
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
const Translation TRANSLATION = Translation();
|
||||
const Rotation ROTATION = Rotation();
|
||||
const Scaling SCALING = Scaling();
|
||||
const Reflection REFLECTION = Reflection();
|
||||
const Identity_transformation IDENTITY = Identity_transformation();
|
||||
|
||||
} //namespace CGAL
|
||||
|
|
|
|||
Loading…
Reference in New Issue