跳到主要内容

pos_distance

计算两个2D坐标距离

声明

float pos_distance(map a, map b)

参数

参数名描述
a坐标1
b坐标2

返回值

距离

使用方式

返回文档