Fixed scale and rotate variable error

compiling again on VS