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 Render Picker plugin #1115

Closed tomas7770 closed 6 months ago

tomas7770 commented 6 months ago

Description

Adds a renderPickerPlugin in the cubos/engine/render directory, which registers a component named RenderPicker, and a system which automatically resizes render picker textures when the corresponding render target is resized.

This should do the same as the existing screenPickerPlugin and ScreenPicker, but uses the new RenderTarget.

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-1115/ on branch gh-pages at 2024-04-04 21:15 UTC

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 38.15%. Comparing base (38fb934) to head (d4296b2).

Files Patch % Lines
engine/src/render/picker/plugin.cpp 0.00% 23 Missing :warning:
engine/src/render/picker/picker.cpp 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1115 +/- ## ======================================= Coverage 38.15% 38.15% ======================================= Files 319 321 +2 Lines 25617 25644 +27 ======================================= + Hits 9773 9784 +11 - Misses 15844 15860 +16 ```

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