DirectionViewProvider

public class DirectionViewProvider implements MatrixProvider

Class DirectionViewProvider. Provides directionviewprovider functionality for the Hytale server.

java.lang.Object > DirectionViewProvider

Field Summary

yaw

protected double yaw

Field yaw.

pitch

protected double pitch

Field pitch.

yawOffset

protected double yawOffset

Field yawOffset.

pitchOffset

protected double pitchOffset

Field pitchOffset.

invalid

protected boolean invalid

Field invalid.

Method Detail

DirectionViewProvider

public public DirectionViewProvider ()

Method DirectionViewProvider.

Matrix4d

public new Matrix4d ()

Method Matrix4d.

Vector3d

public new Vector3d ()

Method Vector3d.

getPosition

public Vector3d getPosition ()

Method getPosition.

setPosition

Method setPosition.

Parameters:
@Nonnull final Vector3d vec

getDirection

public Vector3d getDirection ()

Method getDirection.

setDirection

Method setDirection.

Parameters:
@Nonnull final Vector3d vec

setUp

public DirectionViewProvider setUp (final double x, final double y, final double z)

Method setUp.

Parameters:
final double x
final double y
final double z

getMatrix

public Matrix4d getMatrix ()

Method getMatrix.

toString

public String toString ()

Method toString.