]> git.tdb.fi Git - libs/gl.git/blobdiff - source/object.h
Move some declarations around a bit
[libs/gl.git] / source / object.h
index bd66e7ee0896899d3ca6df814828f64b3839f827..69759c80a7fde69b7ffe9ccc2a35abb064a758fa 100644 (file)
@@ -23,10 +23,6 @@ similar objects.  See class ObjectInstance.
 */
 class Object: public Renderable
 {
-private:
-       std::vector<RefPtr<const Mesh> > meshes;
-       RefPtr<const Technique> technique;
-
 public:
        class Loader: public DataFile::CollectionObjectLoader<Object>
        {
@@ -45,6 +41,11 @@ public:
                void technique(const std::string &);
        };
 
+private:
+       std::vector<RefPtr<const Mesh> > meshes;
+       RefPtr<const Technique> technique;
+
+public:
        Object();
        Object(const Mesh *, const Technique *);
        ~Object();