Vec2f
Package: com.hypixel.hytale.math
public final class Vec2fClass in the math subsystem.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
SIZE | int | Static final int field. |
x | float | float field. |
y | float | float field. |
Constructors
Section titled “Constructors”| Constructor | Description |
|---|---|
Vec2f(float x, float y) | Creates a new Vec2f instance. |
Vec2f() | Creates a new Vec2f instance. |
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
deserialize(@Nonnull ByteBuf buf, int offset) | Vec2f | static public method. |
serialize(@Nonnull ByteBuf buf) | void | public method. |
toString() | String | public method. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.