crucial performance optimization
This commit is contained in:
parent
6986f179cd
commit
1bd7c8455f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user