vector_math.dart icon indicating copy to clipboard operation
vector_math.dart copied to clipboard

Extension Types

Open Fox32 opened this issue 1 year ago • 2 comments

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?

Fox32 avatar Feb 18 '24 12:02 Fox32

I'm interested in exploring this space.

johnmccutchan avatar Apr 24 '24 14:04 johnmccutchan

but it would be a new API

johnmccutchan avatar Apr 24 '24 14:04 johnmccutchan