跳到主要内容

KVector2d.subtracted() method

两向量相减。

Return a new KVector3d which is this vector subtract the input vector.

Signature:

subtracted(other: KVector2d): KVector2d;

Links: subtracted(other: KVector2d): KVector2d;

Parameters

Parameter

Type

Description

other

KVector2d

被减的另一个向量。

The vector to subtract.

Returns:

KVector2d

两向量的差。

The new vector.