public class Transform
Class Transform. Provides transform functionality for the Hytale server.
java.lang.Object > Transform
Field Summary
position
protected
Vector3d
position
Field position.
rotation
protected
Vector3f
rotation
Field rotation.
len
final
double
len
Field len.
x
final
double
x
Field x.
y
final
double
y
Field y.
z
final
double
z
Field z.
axisDirection
final
Vector3i
axisDirection
Field axisDirection.
transform
final
Transform
transform
Field transform.
Method Detail
Transform
public
public
Transform
()
Method Transform.
Vector3d
public
new
Vector3d
()
Method Vector3d.
Vector3f
public
new
Vector3f
(Float.NaN, Float.NaN, Float.NaN)
Method Vector3f.
- Parameters:
Float.NaNFloat.NaN
Vector3i
public
new
Vector3i
(MathUtil.fastRound(x)
Method Vector3i.
- Parameters:
MathUtil.fastRound(xMathUtil.fastRound(x
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.
applyMaskedRelativeTransform
static
void
applyMaskedRelativeTransform
(@Nonnull final Transform transform, final byte relativeMask, @Nonnull final Vector3d sourcePosition, @Nonnull final Vector3f sourceRotation, @Nonnull final Vector3i blockPosition)
Method applyMaskedRelativeTransform.
- Parameters:
@Nonnull final Transformtransformfinal byterelativeMask@Nonnull final Vector3dsourcePosition@Nonnull final Vector3fsourceRotation@Nonnull final Vector3iblockPosition