Skip to content

Vec2f

Package: com.hypixel.hytale.math

public final class Vec2f

Class in the math subsystem.

FieldTypeDescription
SIZEintStatic final int field.
xfloatfloat field.
yfloatfloat field.
ConstructorDescription
Vec2f(float x, float y)Creates a new Vec2f instance.
Vec2f()Creates a new Vec2f instance.
MethodReturn TypeDescription
deserialize(@Nonnull ByteBuf buf, int offset)Vec2fstatic public method.
serialize(@Nonnull ByteBuf buf)voidpublic method.
toString()Stringpublic method.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.