Oxide icon indicating copy to clipboard operation
Oxide copied to clipboard

Oxide engine/feat/physics particle

Open Chiefmate opened this issue 2 years ago • 1 comments

Summary

Added particle and particle-force generator. Registration for p-f generators are not implemented yet.

Added AABB for shapes Ball and Cuboid. Local AABB is for object space, and AABB is for world space. Currently AABB only supports translations. Planning to replace translation vector with homogenous coordinate matrix , to scaling and rotations.

Key changes

  • [x] Added particle and particle-force generator.
  • [x] Added AABB for shapes Ball and Cuboid.

To Be Done

  • [x] Finish implementing pfgen.rs
  • [x] Update AABB to support rotations and scaling

Chiefmate avatar Mar 18 '23 11:03 Chiefmate

Codecov Report

Merging #55 (215b524) into main (f3771bc) will decrease coverage by 10.92%. The diff coverage is 2.59%.

:exclamation: Current head 215b524 differs from pull request most recent head f38b4d6. Consider uploading reports for the commit f38b4d6 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #55       +/-   ##
===========================================
- Coverage   88.35%   77.44%   -10.92%     
===========================================
  Files          31       38        +7     
  Lines        1323     1516      +193     
  Branches       46       55        +9     
===========================================
+ Hits         1169     1174        +5     
- Misses        139      327      +188     
  Partials       15       15               

codecov-commenter avatar Mar 18 '23 11:03 codecov-commenter