Page MenuHomeFeedback Tracker

*= operator for vectors
New, NormalPublic

Description

If possible please adjust enscript to make this possible

before

direction = direction * -1.0;

after

direction *= -1.0;

direction is of type "vector"

Currently when you try to do this you get this error

Details

Severity
Tweak
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Currently you hate to use direction *= "-1 -1 -1".ToVector(); That worked for me.

Sure but that's not what this about. The vector can be multiplied with a scalar value as shown in the example above. However, the operator *= does not work for it even though it should.

anything from

<thing> = <thing> * <somethingelse>

should be convertable to

<thing> *= <somethingelse>
Geez added a subscriber: rVn.