跳到主要内容

pos_distance_pow

计算两个2D坐标距离的平方

声明

float pos_distance_pow(map a, map b)

参数

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

返回值

距离的平方

使用方式

返回文档