Browse Source

MeshTools: minor cleanup.

pull/229/head
Vladimír Vondruš 7 years ago
parent
commit
7b24161cf3
  1. 6
      src/Magnum/MeshTools/CompressIndices.cpp
  2. 6
      src/Magnum/MeshTools/CompressIndices.h

6
src/Magnum/MeshTools/CompressIndices.cpp

@ -87,8 +87,8 @@ template<class T> Containers::Array<T> compressIndicesAs(const std::vector<Unsig
return buffer;
}
template Containers::Array<UnsignedByte> compressIndicesAs(const std::vector<UnsignedInt>& indices);
template Containers::Array<UnsignedShort> compressIndicesAs(const std::vector<UnsignedInt>& indices);
template Containers::Array<UnsignedInt> compressIndicesAs(const std::vector<UnsignedInt>& indices);
template Containers::Array<UnsignedByte> compressIndicesAs(const std::vector<UnsignedInt>&);
template Containers::Array<UnsignedShort> compressIndicesAs(const std::vector<UnsignedInt>&);
template Containers::Array<UnsignedInt> compressIndicesAs(const std::vector<UnsignedInt>&);
}}

6
src/Magnum/MeshTools/CompressIndices.h

@ -71,9 +71,9 @@ Example usage:
template<class T> MAGNUM_MESHTOOLS_EXPORT Containers::Array<T> compressIndicesAs(const std::vector<UnsignedInt>& indices);
#if defined(CORRADE_TARGET_WINDOWS) && !defined(__MINGW32__)
extern template MAGNUM_MESHTOOLS_EXPORT Containers::Array<UnsignedByte> compressIndicesAs<UnsignedByte>(const std::vector<UnsignedInt>& indices);
extern template MAGNUM_MESHTOOLS_EXPORT Containers::Array<UnsignedShort> compressIndicesAs<UnsignedShort>(const std::vector<UnsignedInt>& indices);
extern template MAGNUM_MESHTOOLS_EXPORT Containers::Array<UnsignedInt> compressIndicesAs<UnsignedInt>(const std::vector<UnsignedInt>& indices);
extern template MAGNUM_MESHTOOLS_EXPORT Containers::Array<UnsignedByte> compressIndicesAs<UnsignedByte>(const std::vector<UnsignedInt>&);
extern template MAGNUM_MESHTOOLS_EXPORT Containers::Array<UnsignedShort> compressIndicesAs<UnsignedShort>(const std::vector<UnsignedInt>&);
extern template MAGNUM_MESHTOOLS_EXPORT Containers::Array<UnsignedInt> compressIndicesAs<UnsignedInt>(const std::vector<UnsignedInt>&);
#endif
}}

Loading…
Cancel
Save