2015-03-07 21:48:44 +00:00
|
|
|
#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,
|
2015-03-08 00:28:34 +00:00
|
|
|
float time, bool withColor, glm::vec2 skewing);
|
2015-03-07 21:48:44 +00:00
|
|
|
private:
|
|
|
|
glm::vec3 color;
|
|
|
|
glm::vec3 size;
|
|
|
|
SharedVertexArrayObject vao;
|
|
|
|
SharedArrayBuffer ab;
|
|
|
|
};
|