SteamWar/BauSystem
Archiviert
13
0

Rename floatss to floats

Dieser Commit ist enthalten in:
jojo 2020-07-18 23:16:30 +02:00
Ursprung 619498a898
Commit 2615c8a77c

Datei anzeigen

@ -126,13 +126,13 @@ class TNTTracer_15 {
traceCache.setUpdatePoints(accumulatePositions(floats, px, py, pz));
}
private static float[] accumulatePositions(float[] floatss, float px, float py, float pz) {
private static float[] accumulatePositions(float[] floats, float px, float py, float pz) {
LinkedList<Float> linkedList = new LinkedList<>();
for (int i = 0; i < floatss.length; i += 3) {
float x = floatss[i + 0];
float y = floatss[i + 1];
float z = floatss[i + 2];
for (int i = 0; i < floats.length; i += 3) {
float x = floats[i + 0];
float y = floats[i + 1];
float z = floats[i + 2];
if (square(x - px) + square(y + 0.49F - py) + square(z - pz) > showRadius) continue;