Releases: hacksalot/Physijs
Releases · hacksalot/Physijs
v0.2.0
This custom release of Physijs is identical to the original with the following modifications:
Added
- Ensures that the
THREE
symbol is defined (interim check to ease use of Physijs, or rather, Physijs's use of Three.js, in require/AMD scenarios). - Blindly / optimistically upgrades Physijs's former
r59
dependency on Three.js to^0.106.2
. This has worked for my purposes so far YMMV. - Introduces a package.json file, allowing Physijs to be used with Yarn/NPM.
- Doesn't introduce any new Physijs packages into the NPM or Bower registries (I'm not the author of Physijs).
- Moves
ammo.js
andthree
dependencies frombower.json
topackage.json
.
To add this release as a dependency, use npm install
or yarn add
with the GitHub repository syntax:
npm install hacksalot/physijs --save
That will create an entry in your package.json's dependencies
hash:
"dependencies": {
"foo": "*",
"bar": "^1.0.0",
"physijs": "github:hacksalot/physijs"
}
For an example usage in code, see hacksalot/extrovert.js/package.json. To see this version of Physijs in action, check out the xkcdown demo and accompanying sources.