very small edit to bruteforce angles

abuses the ~20deg area of hitbox that the head can be in while bruteforcing, to cover wider ranges than +90/-90
This commit is contained in:
echo! 2020-05-01 00:32:16 -04:00 committed by GitHub
parent 1dc72d3b3f
commit 08dbff6aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ void frameStageNotify(ClientFrameStage_t stage)
#endif #endif
} }
static std::array<float, 5> yaw_resolves{ 0.0f, 180.0f, 90.0f, -90.0f, -180.0f }; static std::array<float, 5> yaw_resolves{ 0.0f, 180.0f, 65.0f, -65.0f, -180.0f };
static float resolveAngleYaw(float angle, brutedata &brute) static float resolveAngleYaw(float angle, brutedata &brute)
{ {