Saxum/flame.hh
2015-03-08 01:28:34 +01:00

19 lines
499 B
C++

#pragma once
#include "entity.hh"
#include <ACGL/OpenGL/Objects.hh>
using namespace ACGL::OpenGL;
class Flame : public Entity {
public:
Flame(glm::vec3 position, glm::vec3 color, glm::vec3 size);
Flame();
void render(SharedShaderProgram shader, glm::mat4 viewProjectionMatrix,
float time, bool withColor, glm::vec2 skewing);
private:
glm::vec3 color;
glm::vec3 size;
SharedVertexArrayObject vao;
SharedArrayBuffer ab;
};