Scaling not working with non-const class variables

problem was setting scale to 0.0, sry