message: don't DLLEXPORT AffineSpaceT as everything is marked "inline", cleanups
diff: @@ -29,7 +29,7 @@ namespace ospcommon {
  ////////////////////////////////////////////////////////////////////////////////
  template<typename L>
  - struct OSPCOMMON_INTERFACE AffineSpaceT
  + struct AffineSpaceT
  {
  L l; /*< linear part of affine space */
  VectorT p; /*< affine part of affine space */
  @@ -134,25 +134,26 @@ namespace ospcommon {
  // Output Operators
  ////////////////////////////////////////////////////////////////////////////////
  - template<typename L> static std::ostream& operator<<(std::ostream& cout, const AffineSpaceT<L>& m) {
  + template<typename L> inline std::ostream& operator<<(std::ostream& cout, const AffineSpaceT<L>& m) {
  return cout << "{ l = " << m.l << ", p = " << m.p << " }";
  }
  ////////////////////////////////////////////////////////////////////////////////
  - // Template Instantiations
  + // Type Aliases
  ////////////////////////////////////////////////////////////////////////////////
  - typedef AffineSpaceT<LinearSpace2f> AffineSpace2f;
  - typedef AffineSpaceT<LinearSpace3f> AffineSpace3f;
  - typedef AffineSpaceT<LinearSpace3fa> AffineSpace3fa;
  - typedef AffineSpaceT<Quaternion3f > OrthonormalSpace3f;
  + using AffineSpace2f = AffineSpaceT<LinearSpace2f>;
  + using AffineSpace3f = AffineSpaceT<LinearSpace3f>;
  + using AffineSpace3fa = AffineSpaceT<LinearSpace3fa>;
  + using OrthonormalSpace3f = AffineSpaceT<Quaternion3f >;
  - typedef AffineSpace2f affine2f;
  - typedef AffineSpace3f affine3f;
  + using affine2f = AffineSpace2f;
  + using affine3f = AffineSpace3f;
  ////////////////////////////////////////////////////////////////////////////////
  /*! Template Specialization for 2D: return matrix for rotation around point (rotation around arbitrarty vector is not meaningful in 2D) */
  - template<> inline AffineSpace2f AffineSpace2f::rotate(const vec2f& p, const float& r) { return translate(+p) * AffineSpace2f(LinearSpace2f::rotate(r)) * translate(-p); }
  + template<> inline AffineSpace2f AffineSpace2f::rotate(const vec2f& p, const float& r)
  + { return translate(+p) * AffineSpace2f(LinearSpace2f::rotate(r)) * translate(-p); }
  #undef VectorT
  #undef ScalarT
  