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.cpp | |
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.cpp | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/RendererEntity.cpp b/src/RendererEntity.cpp index 6a92cec..0bc2606 100644 --- a/src/RendererEntity.cpp +++ b/src/RendererEntity.cpp @@ -147,20 +147,7 @@ void RendererEntity::Render(RenderState & renderState) { glUniformMatrix4fv(modelLoc, 1, GL_FALSE, glm::value_ptr(model)); glUniform3f(colorLoc, entity.renderColor.x, entity.renderColor.y, entity.renderColor.z); glCheckError(); - glDrawArrays(GL_TRIANGLES, 0, 36); + glDrawArrays(GL_LINE_STRIP, 0, 36); glCheckError(); -} - -void RendererEntity::PrepareResources() -{ -} - -void RendererEntity::PrepareRender() -{ -} - -bool RendererEntity::IsNeedResourcesPrepare() -{ - return false; -} +}
\ No newline at end of file |