Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zmj
on Nov 19, 2022
|
parent
|
context
|
favorite
| on:
Go 1.21 may have a clear(x) builtin
C# had the same NaN behavior until recently:
https://learn.microsoft.com/en-us/dotnet/core/compatibility/...
rawling
on Nov 19, 2022
[–]
Oof, 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_
on Nov 19, 2022
|
parent
[–]
It's the classical representation of affine transforms (translate, rotate, scale, etc) using homogeneous coordinates.
https://en.wikipedia.org/wiki/Transformation_matrix#Affine_t...
rawling
on Nov 21, 2022
|
root
|
parent
[–]
Ah, thanks. I figured it might be something like this but the documentation is very dry and doesn't seem to mention it.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: