So Far what I got about affine transformations.
The figure below shows an example of what we mean. On the left, a cylinder has been built
in a convenient place, and to a convenient size. Because of the requirements of a scene,
it is first scaled to be longer and thinner than its original design, rotated to a desired
orientation in space, and then moved to a desired position (i.e. translated). The set of
operations providing for all such transformations are known as the affine transforms. The
affines include translations and all linear transformations, like scale, rotate, and shear.
Src : https://people.cs.clemson.edu/~dhouse/courses/401/notes/affines-matrices.pdf
Still, I need to understand the code which I highlighted. Is it a simple matrix multiplication or something else?