From 134330d8a9c41d498078a78b87d06086d964d273 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期三, 05 六月 2019 13:26:15 +0800 Subject: [PATCH] multiplayer display --- code/utils.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/utils.py b/code/utils.py index ff98fd3..8276ff6 100644 --- a/code/utils.py +++ b/code/utils.py @@ -110,8 +110,8 @@ x3 = size * (sin(yaw)) + tdx y3 = size * (-cos(yaw) * sin(pitch)) + tdy - cv2.line(img, (int(tdx), int(tdy)), (int(x1),int(y1)),(0,0,255),3) - cv2.line(img, (int(tdx), int(tdy)), (int(x2),int(y2)),(0,255,0),3) - cv2.line(img, (int(tdx), int(tdy)), (int(x3),int(y3)),(0,0,0),5) + cv2.line(img, (int(tdx), int(tdy)), (int(x1),int(y1)),(0, 255, 255),3) + cv2.line(img, (int(tdx), int(tdy)), (int(x2),int(y2)),(0,0,255),3) + cv2.line(img, (int(tdx), int(tdy)), (int(x3),int(y3)),(0,255,0),3) return img -- Gitblit v1.8.0