the_big_one/src/main/java/jesse/keeblarcraft/Utils/DirectionalVec.java

21 lines
720 B
Java
Raw Normal View History

2024-11-29 09:00:14 +00:00
package jesse.keeblarcraft.Utils;
import net.minecraft.registry.RegistryKey;
import net.minecraft.world.World;
/////////////////////////////////////////////////////////////////////////////
/// @class DirectionalVec
///
/// @brief DirectionalVec creates a vector of information that can store
/// world information and a players vector information of where they
/// are in the world + where their camera is looking (yaw & pitch)
/////////////////////////////////////////////////////////////////////////////
2024-11-29 09:00:14 +00:00
public class DirectionalVec {
public RegistryKey<World> world;
public double x;
public double y;
public double z;
public float yaw;
public float pitch;
2024-11-29 09:00:14 +00:00
}