net.minecraft.util

public class SegmentedAnglePrecision

azj
net.minecraft.util.SegmentedAnglePrecision
net.minecraft.class_8013
net.minecraft.util.math.RotationCalculator
net.minecraft.util.SegmentedAnglePrecision

Field summary

Modifier and TypeField
private final int
a
mask
field_41760
max
private final int
b
precision
field_41761
precision
private final float
c
degreeToAngle
field_41762
rotationPerDegrees
private final float
d
angleToDegree
field_41763
degreesPerRotation

Constructor summary

ModifierConstructor
public (int precision)

Method summary

Modifier and TypeMethod
public boolean
a(int arg0, int arg1)
isSameAxis(int arg0, int arg1)
method_48123(int arg0, int arg1)
areRotationsParallel(int alpha, int beta)
public int
a(jn arg0)
fromDirection(Direction arg0)
method_48124(class_2350 arg0)
toRotation(Direction direction)
public int
a(float arg0)
fromDegreesWithTurns(float arg0)
method_48121(float arg0)
toRotation(float degrees)
public int
b(float arg0)
fromDegrees(float arg0)
method_48125(float arg0)
toClampedRotation(float degrees)
public float
a(int arg0)
toDegreesWithTurns(int arg0)
method_48122(int arg0)
toDegrees(int rotation)
public float
b(int arg0)
toDegrees(int arg0)
method_48126(int arg0)
toWrappedDegrees(int rotation)
public int
c(int arg0)
normalize(int arg0)
method_48127(int arg0)
clamp(int rotationBits)
public int
a()
getMask()
method_48120()
getMax()