eo/include/engine/object.hpp

25 lines
454 B
C++

#ifndef OBJECT_HPP
#define OBJECT_HPP
#include "bgfx/bgfx.h"
#include <glm/glm.hpp>
#include <engine/quad.hpp>
class EngineObject {
public:
EngineObject(void);
EngineObject(std::string texture);
EngineQuad quad_data;
glm::vec4 position;
glm::vec4 rotation;
glm::vec4 scale;
bgfx::TextureHandle texture;
bgfx::VertexBufferHandle vbh;
bgfx::IndexBufferHandle ibh;
};
#endif