Vector4.Distance 距离

static function Distance (a : Vector4, b : Vector4) : float

Description描述

Returns the distance between a and b.

返回a和b之间的距离。

Vector4.Distance(a,b) is the same as (a-b).magnitude

Vector4.Distance(a,b) 等同于(a-b).magnitude 。

Page last updated: 2011-1-9