• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

djeedai / bevy_hanabi / 8309429994
66%

Build:
DEFAULT BRANCH: main
Ran 16 Mar 2024 05:43PM UTC
Jobs 1
Files 27
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Mar 2024 05:38PM UTC coverage: 52.414% (-0.2%) from 52.661%
8309429994

push

github

web-flow
Add a modifier to make particles round. (#283)

This commit adds a `RoundModifier`, which allows particles to be made
into [squircle]s without having to use a texture. Squircles are like
rounded rectangles but are cheaper to evaluate. A configurable
`roundness` parameter allows the roundness to vary smoothly from a sharp
rectangle to a perfect ellipse.

Given x and y from (-1, 1), the equation of the shape of the particle is
|x|ⁿ + |y|ⁿ = 1, where n = 2 / `roundness`.

The `firework` and `portal` examples have been updated to use the
roundness modifier, as rounded particles generally look better than
square ones in these scenarios.

[squircle]: https://en.wikipedia.org/wiki/Squircle

---------

Co-authored-by: Jerome Humbert <djeedai@gmail.com>

2 of 31 new or added lines in 4 files covered. (6.45%)

3040 of 5800 relevant lines covered (52.41%)

22.43 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8309429994.1 16 Mar 2024 05:43PM UTC 0
52.41
GitHub Action Run
Source Files on build 8309429994
Detailed source file information is not available for this build.
  • Back to Repo
  • 4c65c93c on github
  • Prev Build on main (#8308913095)
  • Next Build on main (#8309610645)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc