Chisel.Prototype
Chisel.Prototype copied to clipboard
Clean/fix whole "pivot" implementation
Currently pivots are stored as an offset to the transform, to avoid needing to modify the brush itself. This is so we can, at some point, share brush shapes between multiple brushes (useful for repetition/mirroring) Unfortunately, this means that the localToWorld/worldToLocal matrices need to take this into account, and the transform versions do not. Right now usage of the proper matrices is not consistent throughout the codebase, and all of this needs to be rethought/cleaned-up & fixed
duplicate #217