jnsmalm / pixi3d

The 3D renderer for PixiJS. Seamless integration with 2D applications.
https://pixi3d.org
MIT License
752 stars 43 forks source link

Pint3D.copyFrom() now expects the IPoint3DData interface #182

Closed choephix closed 1 year ago

choephix commented 1 year ago

image

Thinking Point3D.copyFrom() should be expecting something like a IPoint3DData type in order to be consistent with how regular PixiJs works. It's also somewhat truer to the idea of a function requiring only what it needs.

jnsmalm commented 1 year ago

You are right, thanks!