implemented glScale