¡@

Home 

c++ Programming Glossary: iscaled

How can adding code to a loop make it faster?

http://stackoverflow.com/questions/688325/how-can-adding-code-to-a-loop-make-it-faster

for fast conversion of float to int . for i 0 i iCount i iScaled ftol_ambient pSource PRECISION3 if iScaled 0 pDestination 0.. i 0 i iCount i iScaled ftol_ambient pSource PRECISION3 if iScaled 0 pDestination 0 else if iScaled PRECISION3 pDestination 255.. pSource PRECISION3 if iScaled 0 pDestination 0 else if iScaled PRECISION3 pDestination 255 else iSRGB FloatToSRGBTable3 iScaled..