summaryrefslogblamecommitdiffstats
path: root/src/RendererEntity.hpp
blob: 76548c669ff5de0d696a7245dea3e811ca663cb3 (plain) (tree)
1
2
3
4
5
6
7
8

            
                    
 

                  
 
                      





                                                
                                              



                       
#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;
};