4 ms·
I think computing 2D barycentric coordinates by inverting a 3x3 matrix whose last column is [1, 1, 1] is a bit wasteful. The proper solution is this: https://g
by meindnoch 2y ago
I think computing 2D barycentric coordinates by inverting a 3x3 matrix whose last column is [1, 1, 1] is a bit wasteful.
The proper solution is this: https://gamedev.stackexchange.com/a/63203 https://gamedev.stackexchange.com/a/63203