js-util

Home > rc-js-util > Vec2 > vec2Multiply

Vec2.vec2Multiply() method

Multiply this by _value.

Signature:

vec2Multiply<TResult extends TTypedArray = TArray>(_value: IReadonlyVec2<TTypedArray>, _result?: Vec2<TResult>): Vec2<TResult>;

Parameters

Parameter Type Description
_value IReadonlyVec2<TTypedArray>  
_result Vec2<TResult> (Optional)

Returns:

Vec2<TResult>