4 ms·
C# had the same NaN behavior until recently: https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/7.0/equals-nan https://learn.microsoft.c
by zmj 4y ago
C# had the same NaN behavior until recently: https://learn.microsoft.com/en-us/dotnet/core/compatibility/core-libraries/7.0/equals-nan https://learn.microsoft.com/en-us/dotnet/core/compatibility/...
- rawling 4y agoOof, I don't like that Matrix3x2 type. "It's a 3x2 matrix, but we're going to pretend it has a last column going 0/0/1 so we can get a determinant or multiply them together, but when we negate or add or subtract them it's still going to be 0/0/1."
- _old_dude_ 4y agoIt's the classical representation of affine transforms (translate, rotate, scale, etc) using homogeneous coordinates. https://en.wikipedia.org/wiki/Transformation_matrix#Affine_transformations https://en.wikipedia.org/wiki/Transformation_matrix#Affine_t...
- rawling 4y agoAh, thanks. I figured it might be something like this but the documentation is very dry and doesn't seem to mention it.