DartGameDevs

Bleeding edge tutorials and news for game developers working with Dart

New vector_math Release

Today I released a roll up release of Dart’s vector_math library. Version: 0.9.3. This release includes important fixes to matrix constructors, mixed vector / scalar GLSL style constructors. All existing users should upgrade.

cross_product

For existing users, there is a breaking change in the package import line. Previous versions of vector_math had a library split between console and HTML applications. This is no longer the case and a single import line is all that’s needed:

1
import 'package:vector_math/vector_math.dart';

If you’re using pub, just run pub update and you’ll be good. If you aren’t using pub, start!

1
2
dependencies:
  vector_math: any

Be sure to checkout the GitHub project and read the docs here.

A big thank you to all users who filed issues and provided bug fixes. You’re awesome!