GameDevTecnico / cubos

A still very barebones game engine focused on voxels and data-oriented programming
https://cubosengine.org
MIT License
83 stars 36 forks source link

Add Camera plugin #1125

Closed tomas7770 closed 6 months ago

tomas7770 commented 6 months ago

Description

Add a new cameraPlugin, which adds the PerspectiveCamera component (same fields as old Camera, plus a new active field to support multiple cameras per RenderTarget) and the DrawsTo relation, which has no fields.

Checklist

github-actions[bot] commented 6 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://GameDevTecnico.github.io/cubos/docs-preview/pr-1125/ on branch gh-pages at 2024-04-18 15:52 UTC

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes are missing coverage. Please review.

Project coverage is 39.01%. Comparing base (5b09369) to head (0dbd823).

Files Patch % Lines
engine/src/render/camera/perspective_camera.cpp 0.00% 7 Missing :warning:
engine/src/render/camera/plugin.cpp 0.00% 3 Missing :warning:
engine/src/render/camera/draws_to.cpp 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1125 +/- ## ========================================== - Coverage 39.04% 39.01% -0.03% ========================================== Files 334 337 +3 Lines 26162 26174 +12 ========================================== - Hits 10214 10213 -1 - Misses 15948 15961 +13 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.