X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fteamradar.qc;h=782776eb7866757ebc7ff8ad24076b4923e57859;hb=451e02a2857d8c671f6dcf6a0639ea7c609b3ba9;hp=abd700e613e38895b44ceeba7acbe86498895b42;hpb=26693a3ac060825ce6c7f170d4e65f7ac2a1fb25;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/teamradar.qc b/qcsrc/client/teamradar.qc index abd700e61..782776eb7 100644 --- a/qcsrc/client/teamradar.qc +++ b/qcsrc/client/teamradar.qc @@ -20,7 +20,7 @@ vector teamradar_texcoord_to_2dcoord(vector in) vector out; in -= teamradar_origin3d_in_texcoord; - out = rotate(in, teamradar_angle * DEG2RAD); + out = Rotate(in, teamradar_angle * DEG2RAD); out.y = - out.y; // screen space is reversed out = out * teamradar_size; @@ -42,7 +42,7 @@ vector teamradar_2dcoord_to_texcoord(vector in) out = out / teamradar_size; out_y = - out_y; // screen space is reversed - out = rotate(out, -teamradar_angle * DEG2RAD); + out = Rotate(out, -teamradar_angle * DEG2RAD); out += teamradar_origin3d_in_texcoord;