From 75c745427cd2bd03e34a29ff4dc1cf77fc60a73d Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Fri, 4 Jun 2021 10:22:35 +0200 Subject: [PATCH] [ADD] deque method --- src/shaders/entity_shader.cpp | 2 +- src/shaders/entity_shader.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shaders/entity_shader.cpp b/src/shaders/entity_shader.cpp index 0d1b8db..973d7c4 100644 --- a/src/shaders/entity_shader.cpp +++ b/src/shaders/entity_shader.cpp @@ -161,7 +161,7 @@ namespace shaders } } - void EntityShader::LoadLights(std::deque& lights) const + void EntityShader::LoadLightsDeque(std::deque& lights) const { for (int i = 0; i < MAX_LIGHTS; ++i) { diff --git a/src/shaders/entity_shader.h b/src/shaders/entity_shader.h index 6cc1e8a..101fec1 100644 --- a/src/shaders/entity_shader.h +++ b/src/shaders/entity_shader.h @@ -64,7 +64,7 @@ namespace shaders * * @param lights the deque containing the lights to load */ - void LoadLights(std::deque& lights) const; + void LoadLightsDeque(std::deque& lights) const; /* * @brief: A method to load the the shine variables from a model into the shader