seta:=ArcTan2((x-480.0),(480.0-y))*180/pi;
我定义了 seta,x,y 为integer类型,,PI 为3.1415927
但是每次都提示出现错误, Incompatible types "Integer"and "Extended"
怎么样去解决了?
我定义了 seta,x,y 为integer类型,,PI 为3.1415927
但是每次都提示出现错误, Incompatible types "Integer"and "Extended"
怎么样去解决了?
seta:=round(ArcTan2(round(x-480.0),round((480.0-y)))*180/pi)