mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #8448 from BernieSumption/patch-1
Added multiplyScalar family of functions
This commit is contained in:
Vendored
+21
@@ -125,6 +125,27 @@ declare class Victor
|
||||
* @param vector
|
||||
*/
|
||||
multiply(vector:Victor):Victor;
|
||||
|
||||
/**
|
||||
* Multiplies both vector axis by the given scalar value
|
||||
*
|
||||
* @param victor
|
||||
*/
|
||||
multiplyScalar(scalar: number): Victor;
|
||||
|
||||
/**
|
||||
* Multiplies the X axis by the given scalar
|
||||
*
|
||||
* @param victor
|
||||
*/
|
||||
multiplyScalarX(scalar: number): Victor;
|
||||
|
||||
/**
|
||||
* Multiplies the Y axis by the given scalar
|
||||
*
|
||||
* @param vector
|
||||
*/
|
||||
multiplyScalarY(scalar: number): Victor;
|
||||
|
||||
/**
|
||||
* Divides the X component by the X component of another vector.
|
||||
|
||||
Reference in New Issue
Block a user