Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move SpotLight, PointLight and DirectionalLight from core to engine #554

Conversation

RiscadoA
Copy link
Member

@RiscadoA RiscadoA commented Sep 16, 2023

Description

Removes the old struct AmbientLight which wasn't being used anymore.
Splits the cubos/engine/renderer/light.hpp file into point_light.hpp, directional_light.hpp and spot_light.hpp.
Changes renderer to use the engine lights directly instead of the core lights.
Removes the core lights.

Checklist

  • Self-review changes.
  • Evaluate impact on the documentation.

@RiscadoA RiscadoA linked an issue Sep 16, 2023 that may be closed by this pull request
@RiscadoA RiscadoA changed the title Move spotlight pointlight directionallight from core to engine Move SpotLight, PointLight and DirectionalLight from core to engine Sep 16, 2023
@RiscadoA RiscadoA self-assigned this Sep 16, 2023
@RiscadoA RiscadoA added A-Core A-Engine B-Rendering C-Code-Quality A section of code that is hard to understand or change labels Sep 16, 2023
@RiscadoA RiscadoA added this to the 0.0 Nursery milestone Sep 16, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 16, 2023

PR Preview Action v1.4.4
Preview removed because the pull request was closed.
2023-09-25 14:47 UTC

@RiscadoA RiscadoA force-pushed the 490-move-spotlight-pointlight-directionallight-from-core-to-engine branch from e4f6dba to b0b23b1 Compare September 16, 2023 21:33
@codecov
Copy link

codecov bot commented Sep 16, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.06% 🎉

Comparison is base (1359140) 25.55% compared to head (d31279e) 25.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #554      +/-   ##
==========================================
+ Coverage   25.55%   25.61%   +0.06%     
==========================================
  Files          93       92       -1     
  Lines        7173     7156      -17     
==========================================
  Hits         1833     1833              
+ Misses       5340     5323      -17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RiscadoA RiscadoA force-pushed the 490-move-spotlight-pointlight-directionallight-from-core-to-engine branch from b0b23b1 to d31279e Compare September 25, 2023 12:10
@RiscadoA RiscadoA merged commit 0b9bb84 into main Sep 25, 2023
8 checks passed
@RiscadoA RiscadoA deleted the 490-move-spotlight-pointlight-directionallight-from-core-to-engine branch September 25, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Core A-Engine B-Rendering C-Code-Quality A section of code that is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move SpotLight, PointLight, DirectionalLight from core to engine
2 participants