From c5491807fdf748b44ec5e83a4981eef467a560ac Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 21 May 2009 23:02:48 +0000 Subject: [PATCH] *** SIGNIFICANT CHANGE *** The member 'camera' of the base trimesh class, is no more used since Dec 2006.His initial purpose was keeping intrinsics of the camera, but it is a long time that intrinsics have moved into the Shot class. The I/O procedure already comply this fact filling only the interal structure. --- vcg/complex/trimesh/base.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/vcg/complex/trimesh/base.h b/vcg/complex/trimesh/base.h index 69c7d8c2..63f34fa7 100644 --- a/vcg/complex/trimesh/base.h +++ b/vcg/complex/trimesh/base.h @@ -315,10 +315,9 @@ class TriMesh: public TriMeshEdgeHolder *)_handle)->attribute;} }; - - /// La camera - Camera camera; // intrinsic - Shot shot; // extrinsic + // the camera member (that should keep the intrinsics) is no more needed since 2006, when intrisncs moved into the Shot structure + //Camera camera; // intrinsic + Shot shot; // intrinsic && extrinsic /// Il colore della mesh private: @@ -337,7 +336,7 @@ public: /// Default constructor - TriMesh():shot(camera) + TriMesh() { fn = vn = 0; imark = 0;