ember-ecsy-babylon
v0.12.1
Published
Ember addon that uses escy and babylon.js for a fully declarative 3D rendering experience in Ember apps
Downloads
10
Readme
ember-ecsy-babylon
WIP
Compatibility
- Ember.js v3.24 or above
- Ember CLI v3.24 or above
- Node.js v14 or above
Installation
ember install ember-ecsy-babylon
Usage
To Do
Tree shaking
Due to this ember-auto-import bug
use direct imports of ecsy-babylon
systems:
// good
import BabylonSystem from 'ecsy-babylon/systems/babylon';
// bad
import { BabylonSystem } from 'ecsy-babylon/systems';
import { BabylonSystem } from 'ecsy-babylon';
Same applies when you import from @babylonjs/core
, see Tree Shaking of Babylon.js
This will pull in only the needed systems, and as such also only the needed parts of babylon.js
.
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.