Per component transform #553
Replies: 1 comment
-
Hi, so this has come up before way back in glam's past and ultimately I decided not to include this kind of type (If I'm understanding the type you are proposing correctly). This comment talks about some of the issues with these types #25 (comment) And this one was where I ultimately decided to remove them from glam #25 (comment) The relevant parts of the discussion were
and
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a micro-crate which I use across many different crates that adds a per component transform. It's essentially an
Affine3/Affine3A
with explicit rotation (Quat) and scale (Vec3). If I contributed this to glam would there be an interest in merging it? What could we call the type? It technically represents a similarity, but I'd propose simplyTransform3/Transform3A
. Not the most rigorous name but has very clear precedent.I have a number of libraries I want to push to open source (procedural mesh generation, scene graph, graphics state machine, a bunch of collision functions, etc), but it's a little weird they all depend on this helper type. I think it should arguably exist in glam itself, which is a hard dependency in all my libs, but I want to check to see if this fits the design goals before I do the work to contribute it.
Beta Was this translation helpful? Give feedback.
All reactions