blob: 578e24bc6dd3bbb49748093c6f512a4a36bd73c1 (
plain) (
tree)
|
|
#pragma once
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Renderer.hpp"
#include "Entity.hpp"
#include "World.hpp"
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;
};
|