We were trying to clone the view and projection matrices.
Type of change
Enhancement
Please delete options that are not relevant.
[x] Filled out missing clone() method for several matrices.
How Has This Been Tested?
Without these implementations the object's clone base class simply returns a copy of the pointer. Now it performs an actual copy of the objects. Similar implementation to many many classes in VSG. I don't see any tests for cloning of other objects.
Checklist:
[ x ] My code follows the style guidelines of this project
[ x ] I have performed a self-review of my own code
[ x ] I have commented my code, particularly in hard-to-understand areas
[ x ] My changes generate no new warnings
[ x ] New and existing unit tests pass locally with my changes
Description
We were trying to clone the view and projection matrices.
Type of change
Enhancement
Please delete options that are not relevant.
How Has This Been Tested?
Without these implementations the object's clone base class simply returns a copy of the pointer. Now it performs an actual copy of the objects. Similar implementation to many many classes in VSG. I don't see any tests for cloning of other objects.
Checklist: