js-util

Home > rc-js-util > Vec2 > getCtor

Vec2.getCtor() method

Signature:

static getCtor<TCtor extends TTypedArrayCtor>(ctor: TCtor): IVec2Ctor<InstanceType<TCtor>>;

Parameters

Parameter Type Description
ctor TCtor  

Returns:

IVec2Ctor<InstanceType<TCtor>>