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

excaliburjs / Excalibur / 1095
84%
main: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/site/postcss-8.5.23
DEFAULT BRANCH: main
Ran 31 Oct 2016 10:50PM UTC
Jobs 1
Files 1
Run time 0s
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

pending completion
1095

push

travis-ci

jedeen
[#666] Fix `oldVel` and `oldPos` values being updated (#669)

Closes #666 
## Proposed Changes:
- Fix `oldVel` value being set to the current frame's value due to `addEqual` mutator method
- Fix `oldPos` not being set at all
## Notes
Two issues I discovered:
1. `oldVel` was wrong, it was being set to the current frame's value
2. `oldVel` (and now `oldPos`) are being set in the `integrate()` method of Actor but that method can be called multiple times per update, hence oldVel and oldPos are probably not accurate for use within an update loop especially if they are supposed to represent the previous frame values.

7198 of 9448 relevant lines covered (76.19%)

113.78 hits per line

Coverage Regressions

Lines Coverage ∆ File
622
100.0
src/spec/TestsSpec.js
Jobs
ID Job ID Ran Files Coverage
1 1095.1 31 Oct 2016 10:50PM UTC 0
76.19
Travis Job 1095.1
Source Files on build 1095
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1095
  • 27197168 on github
  • Prev Build on master (#1092)
  • Next Build on master (#1097)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc