Skip to content

Commit

Permalink
setup new GlfSimpleLightCollector class
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Dec 31, 2024
1 parent 5d03082 commit 3e11b87
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Sources/Glf/include/Glf/simpleLight.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,16 +228,16 @@ class GlfSimpleLightCollector
~GlfSimpleLightCollector() = default;

GLF_API
void Clear();
void clear();

GLF_API
void AddLight(GlfSimpleLight const &light);
void addLight(GlfSimpleLight const &light);

GLF_API
void AddLight(GlfSimpleLight &&light);
void addLight(GlfSimpleLight &&light);

GLF_API
GlfSimpleLightVector GetLights() const;
GlfSimpleLightVector getLights() const;

private:
GlfSimpleLightVector _lights;
Expand Down
8 changes: 4 additions & 4 deletions Sources/Glf/simpleLight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,22 +322,22 @@ GlfSimpleLightCollector::GlfSimpleLightCollector()
: _lights()
{}

void GlfSimpleLightCollector::Clear()
void GlfSimpleLightCollector::clear()
{
_lights.clear();
}

void GlfSimpleLightCollector::AddLight(GlfSimpleLight const &light)
void GlfSimpleLightCollector::addLight(GlfSimpleLight const &light)
{
_lights.push_back(light);
}

void GlfSimpleLightCollector::AddLight(GlfSimpleLight &&light)
void GlfSimpleLightCollector::addLight(GlfSimpleLight &&light)
{
_lights.push_back(std::move(light));
}

GlfSimpleLightVector GlfSimpleLightCollector::GetLights() const
GlfSimpleLightVector GlfSimpleLightCollector::getLights() const
{
return _lights;
}
Expand Down

0 comments on commit 3e11b87

Please sign in to comment.