You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When depending on and importing @pixi/math-extras, PIXI3D will produce these compile errors:
src/index.ts:43:36 - error TS2345: Argument of type 'Model' is not assignable to parameter of type 'DisplayObject'.
The types of 'transform.position.normalize(...).magnitude' are incompatible between these types.
Type 'number' is not assignable to type '() => number'.
43 let model = container.addChild(Model.from(assets.teapot));
src/index.ts:48:29 - error TS2554: Expected 0-2 arguments, but got 3.
48 ground.scale.set(10, 1, 10);
~~~~~~~~~~~~~~~~~~~~~~~~~
When depending on and importing @pixi/math-extras, PIXI3D will produce these compile errors:
Example Project
math-extra.zip
The text was updated successfully, but these errors were encountered: