mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Merge pull request #8448 from BernieSumption/patch-1
Added multiplyScalar family of functions
This commit is contained in:
commit
0e6b620fcb
1 file changed
+21
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