Guest User

Untitled

a guest
Nov 26th, 2015
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.79 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "nio/interfaces/Identificable.hpp"
  4. #include "nio/interfaces/Nameable.hpp"
  5. #include "nio/interfaces/Bindable.hpp"
  6. #include "nio/object/Geometry.hpp"
  7. #include "nio/managers/GeometryManager.hpp"
  8. #include "nio/math/Matrix4x4.hpp"
  9.  
  10. namespace Nio
  11. {
  12.     namespace Object
  13.     {
  14.         class NIOAPI Object : public Nio::Interfaces::Identificable, public Nio::Interfaces::Nameable, public Nio::Interfaces::Bindable
  15.         {
  16.         private:
  17.             Nio::Object::Geometry &geometry;
  18.             Nio::Math::Matrix4x4 transform;
  19.         protected:
  20.             void bind() const override;
  21.             void release() const override;
  22.         public:
  23.             Object(Nio::Managers::GeometryManager &geometryManager, unsigned int id, const std::string &name);
  24.             virtual ~Object();
  25.             const Nio::Math::Matrix4x4& getTransform() const;
  26.         };
  27.     }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment