Browse Source

Clang linker fixes.

pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
f23827bd87
  1. 4
      src/Physics/AxisAlignedBox.cpp
  2. 4
      src/Physics/Capsule.cpp
  3. 4
      src/Physics/ObjectShape.cpp
  4. 4
      src/Physics/ObjectShapeGroup.cpp
  5. 4
      src/Physics/Sphere.cpp

4
src/Physics/AxisAlignedBox.cpp

@ -38,7 +38,7 @@ template<std::uint8_t dimensions> bool AxisAlignedBox<dimensions>::operator%(con
(other.transformedPosition() < _transformedMax).all();
}
template class AxisAlignedBox<2>;
template class AxisAlignedBox<3>;
template class MAGNUM_PHYSICS_EXPORT AxisAlignedBox<2>;
template class MAGNUM_PHYSICS_EXPORT AxisAlignedBox<3>;
}}

4
src/Physics/Capsule.cpp

@ -53,7 +53,7 @@ template<std::uint8_t dimensions> bool Capsule<dimensions>::operator%(const Sphe
Math::pow<2>(transformedRadius()+other.transformedRadius());
}
template class Capsule<2>;
template class Capsule<3>;
template class MAGNUM_PHYSICS_EXPORT Capsule<2>;
template class MAGNUM_PHYSICS_EXPORT Capsule<3>;
}}

4
src/Physics/ObjectShape.cpp

@ -46,7 +46,7 @@ template<std::uint8_t dimensions> void ObjectShape<dimensions>::clean(const type
if(_shape) _shape->applyTransformationMatrix(absoluteTransformationMatrix);
}
template class ObjectShape<2>;
template class ObjectShape<3>;
template class MAGNUM_PHYSICS_EXPORT ObjectShape<2>;
template class MAGNUM_PHYSICS_EXPORT ObjectShape<3>;
}}

4
src/Physics/ObjectShapeGroup.cpp

@ -45,7 +45,7 @@ template<std::uint8_t dimensions> ObjectShape<dimensions>* ObjectShapeGroup<dime
return nullptr;
}
template class ObjectShapeGroup<2>;
template class ObjectShapeGroup<3>;
template class MAGNUM_PHYSICS_EXPORT ObjectShapeGroup<2>;
template class MAGNUM_PHYSICS_EXPORT ObjectShapeGroup<3>;
}}

4
src/Physics/Sphere.cpp

@ -78,7 +78,7 @@ template<std::uint8_t dimensions> bool Sphere<dimensions>::operator%(const Spher
Math::pow<2>(transformedRadius()+other.transformedRadius());
}
template class Sphere<2>;
template class Sphere<3>;
template class MAGNUM_PHYSICS_EXPORT Sphere<2>;
template class MAGNUM_PHYSICS_EXPORT Sphere<3>;
}}

Loading…
Cancel
Save