Closed mtsee closed 6 months ago
Is there a use case for pixi v7? The following code will not work properly in v7
const app = new PIXI.Application({ background: '#000', resizeTo: window }); const camera = new PIXI3D.Camera(app.renderer); const control = new PIXI3D.CameraOrbitControl(app.view, camera); control.distance = 3.5; control.angles.x = 8; const pic3d = PIXI3D.Mesh3D.createCube(); // pic3d.position.set(0, 0, 0); const container3d = new PIXI3D.Container3D(); container3d.addChild(pic3d); app.stage.addChild(container3d);
Which version of PixiJS did you test with?
Is there a use case for pixi v7? The following code will not work properly in v7