Scales the vector by specifying a scaling factor.
"vector2D_var" is a variable referencing a Vector2D object.
|
"vector2D_var" is a variable referencing a Vector2D object.
|
Type | Description |
boolean | Returns true if successful. |
Name | Type | Description |
scale | double | The scale factor to multiple the vector by (i.e. 1.5). |