Non Affine, Tech Art, Transformation Matrices, Unity3d, Shaders.
(-1, 0, -1), since they are the same. We just have to apply the inverse of R2Axis after we are done with our rotation around x axis, to compensate for the between steps we did with R2Axis. Code. Figure -2- rotation first to align the x axis with the desired axis of rotation, rotate back Let’s go