Transforming a scale

Blitz3D Forums/Blitz3D Programming/Transforming a scale

How would I transform a scale from world to local space, without using the "global" flag? Let's say I have a mesh rotated to 0,45,0. How would I make it twice as wide, in global space coordinates?

Transforming the scale vector isn't the solution, as this code shows:
Graphics3D 400,300,16,2
m=CreatePivot()
RotateEntity m,0,45,0
TFormVector 1,1,1,0,m
RuntimeError TFormedX()+", "+TFormedY()+", "+TFormedZ()

Inputting a global scale of 1,1,1 would produce a local scale of 1,1,1.