Skip to content

Commit 27d5096

Browse files
committed
[[ Bug 21507 ]] Fix incorrect parameter order calling MCMathEvalAtan2Number from atan2
1 parent ff713cf commit 27d5096

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libscript/src/math.lcb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ end syntax
322322
public handler atan2(in pY as Number, in pX as Number) returns Number
323323
variable tVar as Number
324324
unsafe
325-
MCMathEvalAtan2Number(pX, pY, tVar)
325+
MCMathEvalAtan2Number(pY, pX, tVar)
326326
end unsafe
327327
return tVar
328328
end handler

0 commit comments

Comments
 (0)