js-util

Home > rc-js-util > Vec2 > translate2d

Vec2.translate2d() method

Shifts this position by the arguments.

Signature:

translate2d(_dx: number, _dy: number): void;

Parameters

Parameter Type Description
_dx number  
_dy number  

Returns:

void