Package net.minecraft.world.phys
Class Vec2
java.lang.Object
net.minecraft.world.phys.Vec2
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
ZERO
 - 
ONE
 - 
UNIT_X
 - 
NEG_UNIT_X
 - 
UNIT_Y
 - 
NEG_UNIT_Y
 - 
MAX
 - 
MIN
 - 
x
public final float x - 
y
public final float y 
 - 
 - 
Constructor Details
- 
Vec2
public Vec2(float p_82474_, float p_82475_)  
 - 
 - 
Method Details
- 
scale
 - 
dot
 - 
add
 - 
add
 - 
equals
 - 
normalized
 - 
length
public float length() - 
lengthSquared
public float lengthSquared() - 
distanceToSqr
 - 
negated
 
 -