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
1 changed files with 6 additions and 6 deletions

View File

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