blob: 51d41636303f8805b11803838085ba11420f8e00 (
plain) (
tree)
|
|
#pragma once
#include <GL/glew.h>
class World;
class RenderState;
class RendererEntity {
unsigned int entityId;
World *world;
public:
RendererEntity(World *ptr, unsigned int id);
~RendererEntity();
void Render(RenderState& renderState);
GLint modelLoc = 0;
GLint colorLoc = 0;
static GLuint GetVao();
};
|