diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-20 17:21:29 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-20 17:21:29 +0200 |
commit | c62e2cd49649109f0135e56ee8add0dab2254d01 (patch) | |
tree | 7e6240186a3801daf0189d1883081b93b5f1eb5c /src/RendererEntity.hpp | |
parent | 2017-08-19 (diff) | |
download | AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.gz AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.bz2 AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.lz AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.xz AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.tar.zst AltCraft-c62e2cd49649109f0135e56ee8add0dab2254d01.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RendererEntity.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/RendererEntity.hpp b/src/RendererEntity.hpp index 23fd029..578e24b 100644 --- a/src/RendererEntity.hpp +++ b/src/RendererEntity.hpp @@ -8,17 +8,14 @@ #include "Entity.hpp" #include "World.hpp" -class RendererEntity :Renderer { +class RendererEntity { unsigned int entityId; World *world; public: RendererEntity(World *ptr, unsigned int id); ~RendererEntity(); - void Render(RenderState& renderState) override; - void PrepareResources() override; - void PrepareRender() override; - bool IsNeedResourcesPrepare() override; + void Render(RenderState& renderState); GLint modelLoc = 0; GLint colorLoc = 0; |