AnimalLogic / AL_USDMaya

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
266 stars 69 forks source link

TransformationMatrix: various "XformBy" methods were not needed #113

Closed pmolodo closed 6 years ago

pmolodo commented 6 years ago

Description (this won't be part of the changelog)

ie, "translateBy" is redundant, because it calls the base implementation, which in turn calls "translateTo" with the updated value.

In addition to being cleaner, this update may provide a small performance boost, as we avoid calling pushToPrim twice every time an xformBy method is called

Also added a test to confirm behavior is still the same

Changelog

Changed

Checklist (Please do not remove this line)