What is Nostr?
Tom Forsyth /
npub1t8z…gw60
2024-02-17 02:24:31

Tom Forsyth on Nostr: Oh that's a fun bug! So Unity has both Matrix4x4 and float4x4, and the have slightly ...

Oh that's a fun bug! So Unity has both Matrix4x4 and float4x4, and the have slightly different syntax, but close enough. The big difference is float4x4 is significantly faster. So a lot of people replace one with the other - happy.

BUT....

To do matrix multiplication with Matrix4x4, you do a = b*c.

To do it with float4x4 you have to do a = math.mul(b,c)

OK whatever. The problem is that a=b*c COMPILES FINE. It just does the componentwise multiply is all.

W
T
F
people.
Author Public Key
npub1t8zuvyvpadmxuvul6ndgt9z3pnywuuawjel7g2v04lypcuvxr82qjagw60