We should be able to manipulate a 4x4 matrix using a Transform object without directly affecting an entity and its caches.
This standalone type would take a reference to a Matrix object and affect it as operations are performed. We could then have a derived class which stores data internally as well, allowing for implicit conversion to Matrix, copies of the transform, etc.
The entity-based Transform type could have an assignment operator which takes this new type as an input.
The API for this new Transform type would be very similar to the existing entity-based solution.
We should be able to manipulate a 4x4 matrix using a
Transformobject without directly affecting an entity and its caches.This standalone type would take a reference to a
Matrixobject and affect it as operations are performed. We could then have a derived class which stores data internally as well, allowing for implicit conversion toMatrix, copies of the transform, etc.The entity-based
Transformtype could have an assignment operator which takes this new type as an input.The API for this new
Transformtype would be very similar to the existing entity-based solution.