wasabia / three_dart

three.js rewrite by Dart, Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.
MIT License
450 stars 80 forks source link

Fixes a crash on creating Sprite. #66

Closed Yodesoft closed 2 years ago

Yodesoft commented 2 years ago

Creating any of Sprite object will crash.

Testing code: final material = SpriteMaterial({'map': _characterTexture}); //, 'color': 0xff0000}); final sprite = Sprite(material);