fix export collada also with double precision scalars

This commit is contained in:
alemuntoni 2021-03-02 15:16:02 +01:00
parent fed787ebb9
commit a7c1893b8d
1 changed files with 3 additions and 3 deletions

View File

@ -38,9 +38,9 @@
template<typename POINTTYPE>
struct CoordNumber{public: static unsigned int coord() { return 0; }};
template<> struct CoordNumber<vcg::Point2f> { public: static unsigned int coord() { return 2; } };
template<> struct CoordNumber<vcg::Point3f> { public: static unsigned int coord() { return 3; } };
template<> struct CoordNumber<vcg::Point4f> { public: static unsigned int coord() { return 4; } };
template<typename Scalar> struct CoordNumber<vcg::Point2<Scalar>> { public: static unsigned int coord() { return 2; } };
template<typename Scalar> struct CoordNumber<vcg::Point3<Scalar>> { public: static unsigned int coord() { return 3; } };
template<typename Scalar> struct CoordNumber<vcg::Point4<Scalar>> { public: static unsigned int coord() { return 4; } };
template<> struct CoordNumber<vcg::Color4b> { public: static unsigned int coord() { return 4; } };