跳到主要内容

pos_distance_pow

两个位置距离的平方

不应该是全局函数!!!

声明

float pos_distance_pow(map a, map b)

参数

参数名描述
a位置1
b位置2

返回值

距离的平方

使用方式

返回文档