crucial performance optimization

This commit is contained in:
Leijurv 2018-10-03 08:14:15 -07:00
parent 6986f179cd
commit 1bd7c8455f
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -80,12 +80,12 @@ public final class PathRenderer implements Helper {
next++; next++;
end = positions.get(next); end = positions.get(next);
} }
double x1 = start.getX(); double x1 = start.x;
double y1 = start.getY(); double y1 = start.y;
double z1 = start.getZ(); double z1 = start.z;
double x2 = end.getX(); double x2 = end.x;
double y2 = end.getY(); double y2 = end.y;
double z2 = end.getZ(); double z2 = end.z;
if (fadeOut) { if (fadeOut) {
float alpha; float alpha;