Added color to lights, added a gui slider to control the single light color

This commit is contained in:
MitchellHansen
2017-03-18 20:08:38 -07:00
parent 4549428954
commit 6a3eaa04f7
6 changed files with 77 additions and 47 deletions

View File

@@ -50,7 +50,7 @@ void LightHandle::add_movement(sf::Vector3f movement)
void LightHandle::set_position(sf::Vector3f position)
{
data_reference->position = position;
}
void LightHandle::set_direction(sf::Vector3f direction)
@@ -60,7 +60,7 @@ void LightHandle::set_direction(sf::Vector3f direction)
void LightHandle::set_rgbi(sf::Vector4f rgbi)
{
data_reference->rgbi = rgbi;
}
void LightHandle::recieve_event(VrEventPublisher* publisher, std::unique_ptr<vr::Event> event)