pixi-projection
pixi-projection copied to clipboard
Can't work with pixi.js together
Beacuse in pixi.js (dist file) , there are some codes :
Object.defineProperty(exports, 'Point', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_Point).default;
}
});
There is getter only.
In pixi-projection.js (dist file) , there are some codes :
PIXI.Point = Point3d;
So , in some browsers , there will throw an error like this :

hello i also encountered the same problem
window.PIXI = require('libs/pixijs/pixi.min')
require('libs/pixijs/pixi-projection')

Well, shit. Gonna fix it. Thank you guys! @finscn @stephenml
Is there any news about this one ?
the PR #34 & #35 could fix this issue , I think.
@ivanpopelyshev , could do you review it ? thanks
It looks like we dont actually need Point3d in most cases. I added it when I didnt know that yet ;)