From 5f6dbfecf3a7970975796b5ee9e28edd1cb1a906 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 15 Aug 2002 15:04:23 +0000 Subject: [PATCH] Removed the getData() from MeshRecord and the dummy SMesh record, this allow the FaceRecord base class to directly provide the datatype. --- src/osgPlugins/flt/MeshRecord.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/osgPlugins/flt/MeshRecord.h b/src/osgPlugins/flt/MeshRecord.h index f444486bc..4b8bf1143 100644 --- a/src/osgPlugins/flt/MeshRecord.h +++ b/src/osgPlugins/flt/MeshRecord.h @@ -17,12 +17,6 @@ namespace flt { //////////////////////////////////////////////////////////////////// -struct SMesh : public SFace -{ - // Members are identical to SFace (version 15.7). -}; - - // Note: the enums for FaceRecord are the same for MeshRecord, so we inherit // and overload where necessary. I was sort of on the fence with this decision, // because a MeshRecord isn't really a more specific case of a FaceRecord s @@ -41,10 +35,6 @@ public: virtual const char * className() const { return "MeshRecord"; } virtual int classOpcode() const { return MESH_OP; } virtual Record * clone() const { return new MeshRecord(); } - - virtual SMesh* getData() const { return (SMesh *) _pData; } - - virtual size_t sizeofData() const { return sizeof ( SMesh ); } protected: