Y
Hacker News
new
|
ask
|
show
|
jobs
by
meindnoch
731 days 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