KVector2d.dot() method
两向量的点积。
Return the dot product of this vector and the input other vector.
Signature:
dot(other: KVector2d): number;
Links: dot(other: KVector2d): number;
Parameters
Parameter | Type | Description |
---|---|---|
other | 被点积的另一个向量。 The vector to dot. |
Returns:
number
两向量点 积的结果。
The dot product of the vectors.