I have use for a method which takes a vector and returns a new vector where every element is the product of the respective elements of the vector and the elements of the receiver vector, e.g.:
In my case I use it to scale the vertices of a 3D object with a per-axis-controllable factor, which is a common CGI feature to have to provide more artistic control over having just a single factor that gets used for each dimension.
It is trivially implementable and testable. This issue is mostly to discuss method name and whether this is wanted. I'm open to creating an MR if this is ok.
I have use for a method which takes a vector and returns a new vector where every element is the product of the respective elements of the vector and the elements of the receiver vector, e.g.:
In my case I use it to scale the vertices of a 3D object with a per-axis-controllable factor, which is a common CGI feature to have to provide more artistic control over having just a single factor that gets used for each dimension.
It is trivially implementable and testable. This issue is mostly to discuss method name and whether this is wanted. I'm open to creating an MR if this is ok.