Package net.minecraft.util
Class CubicSpline.Builder<C,I extends ToFloatFunction<C>>
java.lang.Object
net.minecraft.util.CubicSpline.Builder<C,I>
- Enclosing interface:
CubicSpline<C,
I extends ToFloatFunction<C>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final I
private final it.unimi.dsi.fastutil.floats.FloatList
private final it.unimi.dsi.fastutil.floats.FloatList
private final List
<CubicSpline<C, I>> private final ToFloatFunction
<Float> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPoint
(float p_216115_, float p_216116_) addPoint
(float p_184299_, float p_184300_, float p_184301_) addPoint
(float p_216118_, CubicSpline<C, I> p_216119_) private CubicSpline.Builder
<C, I> addPoint
(float p_184303_, CubicSpline<C, I> p_184304_, float p_184305_) build()
-
Field Details
-
coordinate
-
valueTransformer
-
locations
private final it.unimi.dsi.fastutil.floats.FloatList locations -
values
-
derivatives
private final it.unimi.dsi.fastutil.floats.FloatList derivatives
-
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
addPoint
-
addPoint
-
addPoint
-
addPoint
private CubicSpline.Builder<C,I> addPoint(float p_184303_, CubicSpline<C, I> p_184304_, float p_184305_) -
build
-