I am developing a 3D renderer/model viewer from scratch in C++. In it, there are some transformations that require the center of the object(set of points) and as there are many objects with thousands of vertices, calculating the centroid after each iteration of the program would be costly.
So I was wondering:
If the center of an object, after any number of linear transformations would be the same as the original center affected by those transformations? (including rotation, translation in 4D coordinates).