using distance to ray argument for optimization

This commit is contained in:
devZoGok
2024-07-21 15:00:49 +03:00
parent 027dfc2071
commit fdaa2bf2bd
4 changed files with 27 additions and 8 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ namespace battleship{
using namespace gameBase;
const std::string DEFAULT_TEXTURE = "Textures/defaultTexture.jpg";
const double camPanSpeed = .5, CAMERA_DISTANCE = 100, CAMERA_ZOOM_INCREMENT = 1, NUM_MAX_ZOOMS = 75, cellLength = 14, cellWidth = 14, cellDepth = 7;
const int maxNumGroups = 10;
const double camPanSpeed = .5, CAMERA_DISTANCE = 100, CAMERA_ZOOM_INCREMENT = 1, cellLength = 14, cellWidth = 14, cellDepth = 7, DIST_FROM_RAY = 20;
const int maxNumGroups = 10, NUM_MAX_ZOOMS = 75;
const vb01::u32 IMPASS_NODE_VAL = 65535;
const static int numAppStates = 4;