Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "nio/interfaces/Identificable.hpp"
- #include "nio/interfaces/Nameable.hpp"
- #include "nio/interfaces/Bindable.hpp"
- #include "nio/object/Geometry.hpp"
- #include "nio/managers/GeometryManager.hpp"
- #include "nio/math/Matrix4x4.hpp"
- namespace Nio
- {
- namespace Object
- {
- class NIOAPI Object : public Nio::Interfaces::Identificable, public Nio::Interfaces::Nameable, public Nio::Interfaces::Bindable
- {
- private:
- Nio::Object::Geometry &geometry;
- Nio::Math::Matrix4x4 transform;
- protected:
- void bind() const override;
- void release() const override;
- public:
- Object(Nio::Managers::GeometryManager &geometryManager, unsigned int id, const std::string &name);
- virtual ~Object();
- const Nio::Math::Matrix4x4& getTransform() const;
- };
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment