Finished Trim Part for Replay Studio

Fixed Scroll Bar for GuiSpectateSelection
This commit is contained in:
Marius Metzger
2015-03-12 12:56:37 +01:00
parent 681c8ea3e1
commit a38f87e377
15 changed files with 258 additions and 65 deletions

View File

@@ -11,12 +11,7 @@ public class LinearPoint extends LinearInterpolation<Position> {
if(pair == null) return null;
float perc = pair.first();
//float position = positionIn * (points.size()-1);
//int cubicNum = (int)Math.min(points.size()-1, position);
//float perc = (position - cubicNum);
//System.out.println(cubicNum+" | "+perc+" | "+positionIn);
Position first = pair.second().first();
Position second = pair.second().second();
@@ -28,7 +23,7 @@ public class LinearPoint extends LinearInterpolation<Position> {
float yaw = (float)getInterpolatedValue(first.getYaw(), second.getYaw(), perc);
Position inter = new Position(x, y, z, pitch, yaw);
//System.out.println(position+" | "+cubicNum+" | "+perc+" | "+first+" | "+second+" | "+inter);
return inter;
}
}