From b363673f0e61ab69158b385b60c958c89e4e164d Mon Sep 17 00:00:00 2001 From: gianpaolopalma Date: Tue, 14 Oct 2014 09:28:28 +0000 Subject: [PATCH] Added generic case --- wrap/io_trimesh/precision.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wrap/io_trimesh/precision.h b/wrap/io_trimesh/precision.h index a315d4a9..a5b3bdb1 100644 --- a/wrap/io_trimesh/precision.h +++ b/wrap/io_trimesh/precision.h @@ -9,13 +9,17 @@ namespace vcg { template struct Precision - {}; + { + static int digits() {return 0;} + static const char* typeName() {return "";} + }; template<> struct Precision { static int digits() {return 7;} static const char* typeName() {return "float";} + }; template<>