mirror of
https://github.com/plexusorg/Sunburst.git
synced 2024-05-21 03:51:32 +00:00
42 lines
615 B
Java
42 lines
615 B
Java
|
package dev.plex.util;
|
||
|
|
||
|
public class XYZLocation
|
||
|
{
|
||
|
private final double x, y, z;
|
||
|
private final float yaw, pitch;
|
||
|
|
||
|
public XYZLocation(double x, double y, double z, float yaw, float pitch)
|
||
|
{
|
||
|
this.x = x;
|
||
|
this.y = y;
|
||
|
this.z = z;
|
||
|
this.yaw = yaw;
|
||
|
this.pitch = pitch;
|
||
|
}
|
||
|
|
||
|
public double getX()
|
||
|
{
|
||
|
return x;
|
||
|
}
|
||
|
|
||
|
public double getY()
|
||
|
{
|
||
|
return y;
|
||
|
}
|
||
|
|
||
|
public double getZ()
|
||
|
{
|
||
|
return z;
|
||
|
}
|
||
|
|
||
|
public float getYaw()
|
||
|
{
|
||
|
return yaw;
|
||
|
}
|
||
|
|
||
|
public float getPitch()
|
||
|
{
|
||
|
return pitch;
|
||
|
}
|
||
|
}
|