What is Nostr?
Adam Bell :catPOWER: /
npub14mg…j6qw
2024-10-15 15:18:28

Adam Bell :catPOWER: on Nostr: 3D transforms in SwiftUI are still so messy. There's scaleEffect and ...

3D transforms in SwiftUI are still so messy.

There's scaleEffect and rotation3DEffect, which practically break down a transformation matrix… but then they have weird limitations (like the projection parameter doesn't seem to map to m34 1:1).

Then there's projectionEffect which is supposed to just take a raw CATransform3D and apply it, which kinda works, but it ignores things like translations on the Z axis.
Author Public Key
npub14mgtsuytcjprn4098dtx3xv6myh84g0nrxtwtr9uatevz8nfwz7sqfj6qw