vector_math.dart
vector_math.dart copied to clipboard
A vector math package for 2D and 3D applications
Bumps [dart-lang/setup-dart](https://github.com/dart-lang/setup-dart) from 1.6.2 to 1.6.4. Release notes Sourced from dart-lang/setup-dart's releases. v1.6.4 Rebuild JS code to include changes from v1.6.3 v1.6.3 Roll undici dependency to address CVE-2024-30260 and CVE-2024-30261....
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.4. Release notes Sourced from actions/checkout's releases. v4.1.4 What's Changed Disable extensions.worktreeConfig when disabling sparse-checkout by @jww3 in actions/checkout#1692 Add dependabot config by @cory-miller in...
Polygon
There are currently many shapes included in vector_math, but an important one is missing; the polygon. The general polygon is of course a bit tricky (expensive) to do collision detection...
Dart 3.3 comes with new [extensions types](https://dart.dev/language/extension-types) that could be helpful from a performance view as it would remove the need for wrapper types from Vector3, Matrix4, and others. It...
https://github.com/google/vector_math.dart/commit/1de61698353c439591730dd2c44420678575c9f2 CC @rakudrama
See https://github.com/dart-lang/sdk/issues/55542 ``` I would recommend that package:vector_math plasters @pragma('vm:prefer-inline') all over its APIs as a workaround. ```
I'm not so familiar with 3d graphics, so this is more a question than an actual bug. When looking at [this tutorial](https://www.lighthouse3d.com/tutorials/view-frustum-culling/geometric-approach-extracting-the-planes/) or [this one](https://learnopengl.com/Guest-Articles/2021/Scene/Frustum-Culling) the normals of the planes...
First of all, thank you to everyone who has contributed to this excellent library! 🙌 My brother @ikebart and I created the [bezier.dart](https://pub.dev/packages/bezier) package, based on Pomax's [Bezier.js](https://pomax.github.io/bezierjs/). You can...
@rakudrama @spydon Forking the conversation from the pull request.
The reason is the same as #166, sometimes people thought that it would be nice to be able to left multiply a matrix in place. I know this can be...