kotlin.Cloneable
public class Vec2 implements Cloneable
Class that represents a 2D vector.
1.1.0
public class
Vec2.Mut
Mutable extension of Vec2.
public final static Vec2
ONE
ZERO
M1
RES_1080P
RES_1440P
RES_4K
private final Float
x
y
Vec2()
Vec2(Float x, Float y)
Float
getX()
getY()
final Float
get(Integer index)
final Vec2
plus(Vec2 other)
minus(Vec2 other)
times(Vec2 other)
div(Vec2 other)
Boolean
equals(Object other)
Integer
hashCode()
Vec2
clone()
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Float getX()
Float getY()
final Float get(Integer index)
final Vec2 plus(Vec2 other)
final Vec2 minus(Vec2 other)
final Vec2 times(Vec2 other)
final Vec2 div(Vec2 other)
Boolean equals(Object other)
Integer hashCode()
Vec2 clone()
String toString()