oakmound / oak

A pure Go game engine
Apache License 2.0
1.52k stars 84 forks source link

Feature/entities with explicit children #214

Closed Implausiblyfun closed 1 year ago

Implausiblyfun commented 1 year ago

Add a few things such as guarding against nil entities and allowing for setting of explicit-children

codecov-commenter commented 1 year ago

Codecov Report

Merging #214 (7d11354) into master (aa57f92) will decrease coverage by 0.00%. The diff coverage is 90.38%.

@@            Coverage Diff             @@
##           master     #214      +/-   ##
==========================================
- Coverage   95.02%   95.01%   -0.01%     
==========================================
  Files         143      143              
  Lines        6346     6397      +51     
==========================================
+ Hits         6030     6078      +48     
- Misses        285      287       +2     
- Partials       31       32       +1     
Impacted Files Coverage Δ
render/particle/options.go 93.87% <0.00%> (-6.13%) :arrow_down:
render/particle/source.go 98.59% <50.00%> (-1.41%) :arrow_down:
alg/floatgeom/rect.go 100.00% <100.00%> (ø)
render/particle/generator.go 100.00% <100.00%> (ø)
alg/floatgeom/polygon.go 100.00% <0.00%> (+1.85%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more