google / vector_math.dart

A vector math package for 2D and 3D applications
https://pub.dev/packages/vector_math
Other
315 stars 78 forks source link

Extension Types #314

Open Fox32 opened 8 months ago

Fox32 commented 8 months ago

Dart 3.3 comes with new extensions types that could be helpful from a performance view as it would remove the need for wrapper types from Vector3, Matrix4, and others. It doesn't come without downsides, like the lack of type checking abilities.

Are there any interest / plans to rework vector_math to use them?

johnmccutchan commented 6 months ago

I'm interested in exploring this space.

johnmccutchan commented 6 months ago

but it would be a new API