Monday, September 3, 2018

algorithm - Fastest way to neutralize scale in the transform matrix?


Let's assume we have 4x4 3D transformation matrix, that is the result of scale, rotation, and translation transforms. How to set its scale to (1,1,1) in the fastest way? Assume also that the matrix is represented by float[16] array.


By fastest way I mean, the most performance accurate way, that will be low CPU cost.




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...