mathematik
Class Vector2i
java.lang.Object
mathematik.Vector2i
- All Implemented Interfaces:
- java.io.Serializable
public class Vector2i
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Field Summary |
int |
x
|
int |
y
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
x
public int x
y
public int y
Vector2i
public Vector2i()
Vector2i
public Vector2i(int theX,
int theY)
Vector2i
public Vector2i(Vector2i theVector)
Vector2i
public Vector2i(int[] theVector)
set
public void set(int theX,
int theY)
set
public void set(Vector2i theVector)
set
public void set(int[] theVector)
sub
public final void sub(Vector2i theVectorA,
Vector2i theVectorB)
scale
public final void scale(float theScalar,
Vector2i theVector)
scale
public final void scale(float theScalar)
scale
public final void scale(Vector2i theVector)
toString
public final java.lang.String toString()
- Overrides:
toString in class java.lang.Object
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009