shivanangel
07-27-2013, 02:41 PM
Vizard Support,
This is a suggestion and not a question.
Any chance you could make the normalize method in the viz.Vector class return the normalized vector so we can use the result in a single lined expression?
So I can do things like this in one line:
circleVec = (viz.Vector(1,0,0) + viz.Vector(0,1,0)).normalize() + offsetFromCenterVector
It has always kind of bothered me that I can't do this, especially after writing GLSL code where I get the result of the normalized vector in an expression.
Thanks,
George
This is a suggestion and not a question.
Any chance you could make the normalize method in the viz.Vector class return the normalized vector so we can use the result in a single lined expression?
So I can do things like this in one line:
circleVec = (viz.Vector(1,0,0) + viz.Vector(0,1,0)).normalize() + offsetFromCenterVector
It has always kind of bothered me that I can't do this, especially after writing GLSL code where I get the result of the normalized vector in an expression.
Thanks,
George