summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-26 19:26:28 +0200
committerSergeanur <s.anureev@yandex.ua>2021-01-26 19:26:28 +0200
commitf27e1ec818a7d6ed96c7331358732865950f8234 (patch)
treee90321120efd32215ff069302709f14228130db8
parentd3cd707db7caab03f0a39a2edd12e02045b78fee (diff)
Fix doubles in ZoneCull
-rw-r--r--src/core/ZoneCull.cpp120
1 files changed, 60 insertions, 60 deletions
diff --git a/src/core/ZoneCull.cpp b/src/core/ZoneCull.cpp
index 075a13bc..33586a4e 100644
--- a/src/core/ZoneCull.cpp
+++ b/src/core/ZoneCull.cpp
@@ -855,66 +855,66 @@ CCullZone::PointFallsWithinZone(CVector pos, float radius)
CVector ExtraFudgePointsCoors[] = {
- CVector(978.0, -394.0, 18.0),
- CVector(1189.7, -414.6, 27.0),
- CVector(978.8, -391.0, 19.0),
- CVector(1199.0, -502.3, 28.0),
- CVector(1037.0, -391.9, 18.4),
- CVector(1140.0, -608.7, 16.0),
- CVector(1051.0, -26.0, 11.0),
- CVector(951.5, -345.1, 12.0),
- CVector(958.2, -394.6, 16.0),
- CVector(1036.5, -390.0, 15.2),
- CVector(960.6, -390.5, 20.9),
- CVector(1061.0, -640.6, 16.3),
- CVector(1034.5, -388.96, 14.78),
- CVector(1038.4, -13.98, 12.2),
- CVector(1047.2, -16.7, 10.6),
- CVector(1257.9, -333.3, 40.0),
- CVector(885.6, -424.9, 17.0),
- CVector(1127.5, -795.8, 17.7),
- CVector(1133.0, -716.0, 19.0),
- CVector(1125.0, -694.0, 18.5),
- CVector(1125.0, -670.0, 16.3),
- CVector(1051.6, 36.3, 17.9),
- CVector(1054.6, -11.4, 15.0),
- CVector(1058.9, -278.0, 15.0),
- CVector(1059.4, -261.0, 10.9),
- CVector(1051.5, -638.5, 16.5),
- CVector(1058.2, -643.4, 15.5),
- CVector(1058.2, -643.4, 18.0),
- CVector(826.0, -260.0, 7.0),
- CVector(826.0, -260.0, 11.0),
- CVector(833.0, -603.6, 16.4),
- CVector(833.0, -603.6, 20.0),
- CVector(1002.0, -318.5, 10.5),
- CVector(998.0, -318.0, 9.8),
- CVector(1127.0, -183.0, 18.1),
- CVector(1123.0, -331.5, 23.8),
- CVector(1123.8, -429.0, 24.0),
- CVector(1197.0, -30.0, 13.7),
- CVector(1117.5, -230.0, 17.3),
- CVector(1117.5, -230.0, 20.0),
- CVector(1120.0, -281.6, 21.5),
- CVector(1120.0, -281.6, 24.0),
- CVector(1084.5, -1022.7, 17.0),
- CVector(1071.5, 5.4, 4.6),
- CVector(1177.2, -215.7, 27.6),
- CVector(841.6, -460.0, 19.7),
- CVector(874.8, -456.6, 16.6),
- CVector(918.3, -451.8, 17.8),
- CVector(844.0, -495.7, 16.7),
- CVector(842.0, -493.4, 21.0),
- CVector(1433.5, -774.4, 16.9),
- CVector(1051.0, -205.0, 7.5),
- CVector(885.5, -425.6, 15.6),
- CVector(182.6, -470.4, 27.8),
- CVector(132.5, -930.2, 29.0),
- CVector(124.7, -904.0, 28.0),
- CVector(-50.0, -686.0, 22.0),
- CVector(-49.1, -694.5, 22.5),
- CVector(1063.8, -404.45, 16.2),
- CVector(1062.2, -405.5, 17.0)
+ CVector(978.0f, -394.0f, 18.0f),
+ CVector(1189.7f, -414.6f, 27.0f),
+ CVector(978.8f, -391.0f, 19.0f),
+ CVector(1199.0f, -502.3f, 28.0f),
+ CVector(1037.0f, -391.9f, 18.4f),
+ CVector(1140.0f, -608.7f, 16.0f),
+ CVector(1051.0f, -26.0f, 11.0f),
+ CVector(951.5f, -345.1f, 12.0f),
+ CVector(958.2f, -394.6f, 16.0f),
+ CVector(1036.5f, -390.0f, 15.2f),
+ CVector(960.6f, -390.5f, 20.9f),
+ CVector(1061.0f, -640.6f, 16.3f),
+ CVector(1034.5f, -388.96f, 14.78f),
+ CVector(1038.4f, -13.98f, 12.2f),
+ CVector(1047.2f, -16.7f, 10.6f),
+ CVector(1257.9f, -333.3f, 40.0f),
+ CVector(885.6f, -424.9f, 17.0f),
+ CVector(1127.5f, -795.8f, 17.7f),
+ CVector(1133.0f, -716.0f, 19.0f),
+ CVector(1125.0f, -694.0f, 18.5f),
+ CVector(1125.0f, -670.0f, 16.3f),
+ CVector(1051.6f, 36.3f, 17.9f),
+ CVector(1054.6f, -11.4f, 15.0f),
+ CVector(1058.9f, -278.0f, 15.0f),
+ CVector(1059.4f, -261.0f, 10.9f),
+ CVector(1051.5f, -638.5f, 16.5f),
+ CVector(1058.2f, -643.4f, 15.5f),
+ CVector(1058.2f, -643.4f, 18.0f),
+ CVector(826.0f, -260.0f, 7.0f),
+ CVector(826.0f, -260.0f, 11.0f),
+ CVector(833.0f, -603.6f, 16.4f),
+ CVector(833.0f, -603.6f, 20.0f),
+ CVector(1002.0f, -318.5f, 10.5f),
+ CVector(998.0f, -318.0f, 9.8f),
+ CVector(1127.0f, -183.0f, 18.1f),
+ CVector(1123.0f, -331.5f, 23.8f),
+ CVector(1123.8f, -429.0f, 24.0f),
+ CVector(1197.0f, -30.0f, 13.7f),
+ CVector(1117.5f, -230.0f, 17.3f),
+ CVector(1117.5f, -230.0f, 20.0f),
+ CVector(1120.0f, -281.6f, 21.5f),
+ CVector(1120.0f, -281.6f, 24.0f),
+ CVector(1084.5f, -1022.7f, 17.0f),
+ CVector(1071.5f, 5.4f, 4.6f),
+ CVector(1177.2f, -215.7f, 27.6f),
+ CVector(841.6f, -460.0f, 19.7f),
+ CVector(874.8f, -456.6f, 16.6f),
+ CVector(918.3f, -451.8f, 17.8f),
+ CVector(844.0f, -495.7f, 16.7f),
+ CVector(842.0f, -493.4f, 21.0f),
+ CVector(1433.5f, -774.4f, 16.9f),
+ CVector(1051.0f, -205.0f, 7.5f),
+ CVector(885.5f, -425.6f, 15.6f),
+ CVector(182.6f, -470.4f, 27.8f),
+ CVector(132.5f, -930.2f, 29.0f),
+ CVector(124.7f, -904.0f, 28.0f),
+ CVector(-50.0f, -686.0f, 22.0f),
+ CVector(-49.1f, -694.5f, 22.5f),
+ CVector(1063.8f, -404.45f, 16.2f),
+ CVector(1062.2f, -405.5f, 17.0f)
};
int32 NumTestPoints;
int32 aTestPointsX[100];