From 28527ef1657775601ced21951d1020cce77df76f Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 11 May 2024 10:36:44 +0200 Subject: [PATCH] drop pos angle --- TCPServer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 8016049..95da237 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1432,13 +1432,13 @@ void TCPServer::dropBaseFlowers(StratPattern sp) { if (sp == DROP_FLOWER_BASE_1) { dropPosition = {300, 400}; angle = PI / 2; - angleStart = PI; + angleStart = 3 * PI / 4; distance = 150; } else if (sp == DROP_FLOWER_BASE_2) { dropPosition = {300, 1600}; angle = -PI / 2; - angleStart = PI; + angleStart = -3 * PI / 4; distance = -150; } else { @@ -1449,13 +1449,13 @@ void TCPServer::dropBaseFlowers(StratPattern sp) { if (sp == DROP_FLOWER_BASE_1) { dropPosition = {2700, 400}; angle = PI / 2; - angleStart = 0; + angleStart = PI / 4; distance = 150; } else if (sp == DROP_FLOWER_BASE_2) { dropPosition = {2700, 1600}; angle = -PI / 2; - angleStart = 0; + angleStart = -PI / 4; distance = -150; } else { return;