Browse Source

OpenGEX: fix some review findings.

Kim Kulling 9 years ago
parent
commit
cd9cb50eaf
3 changed files with 8 additions and 9 deletions
  1. 4 0
      code/OpenGEXExporter.cpp
  2. 4 6
      code/OpenGEXImporter.h
  3. 0 3
      code/OpenGEXStructs.h

+ 4 - 0
code/OpenGEXExporter.cpp

@@ -50,6 +50,10 @@ OpenGEXExporter::OpenGEXExporter() {
 OpenGEXExporter::~OpenGEXExporter() {
 }
 
+bool OpenGEXExporter::exportScene( const char *filename, const aiScene* pScene ) {
+    return true;
+}
+
 #endif // ASSIMP_BUILD_NO_OPENGEX_EXPORTER
 
 } // Namespace OpenGEX

+ 4 - 6
code/OpenGEXImporter.h

@@ -152,9 +152,8 @@ private:
         VertexContainer();
         ~VertexContainer();
 
-    private:
-        VertexContainer( const VertexContainer & );
-        VertexContainer &operator = ( const VertexContainer & );
+        VertexContainer( const VertexContainer & ) = delete;
+        VertexContainer &operator = ( const VertexContainer & ) = delete;
     };
 
     struct RefInfo {
@@ -170,9 +169,8 @@ private:
         RefInfo( aiNode *node, Type type, std::vector<std::string> &names );
         ~RefInfo();
 
-    private:
-        RefInfo( const RefInfo & );
-        RefInfo &operator = ( const RefInfo & );
+        RefInfo( const RefInfo & ) = delete;
+        RefInfo &operator = ( const RefInfo & ) = delete;
     };
 
     struct ChildInfo {

+ 0 - 3
code/OpenGEXStructs.h

@@ -113,7 +113,6 @@ struct LightObject {
     bool shadowFlag;
 };
 
-
 struct CameraObject {
     float focalLength;
     float nearDepth;
@@ -146,7 +145,6 @@ struct Name {
     std::string name;
 };
 
-
 struct ObjectRef {
     Object *targetStructure;
 };
@@ -173,7 +171,6 @@ struct BoneIndex {
     unsigned short *arrayStorage;
 };
 
-
 struct BoneWeight {
     int boneWeightCount;
     const float *boneWeightArray;