Skip to content

Commit

Permalink
Implement Light Editor Interface (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Apr 3, 2022
1 parent ad8a8a3 commit 494247a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Editor/Widgets/GUI_Widget_ObjectProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void Widget_ObjectProperties::Draw() {
float DiffuseColor[3];
VecToFloat(&SceneManager_->Scenes_[SceneManager_->ActiveScene_]->PointLights[Index]->Diffuse, DiffuseColor);
ImGui::ColorEdit3("Diffuse", DiffuseColor);
ImGui::SameLine();
ImGui::HelpMarker("Controls the main color of the light.");
FloatToVec(DiffuseColor, &SceneManager_->Scenes_[SceneManager_->ActiveScene_]->PointLights[Index]->Diffuse);
float AmbientColor[3];
Expand Down

0 comments on commit 494247a

Please sign in to comment.