eo/include/engine/object.hpp

25 lines
454 B
C++
Raw Normal View History

2024-11-15 00:12:51 +00:00
#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