Objectpi.Vec
pi.Vec.Unit
public static class Vec.Unit
A vector with length=1
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class pi.Vec |
|---|
Vec.Unit |
| Field Summary | |
|---|---|
static Vec.Unit |
X
|
static Vec.Unit |
Y
|
static Vec.Unit |
Z
|
| Fields inherited from class pi.Vec |
|---|
MAX_Y, MIN_Y, x, y, z, ZERO |
| Method Summary | |
|---|---|
Vec.Unit |
neg()
Negate (multiply with -1) |
| Methods inherited from class pi.Vec |
|---|
add, add, dot, equals, hashCode, mul, sub, toString, xyz |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Vec.Unit X
public static final Vec.Unit Y
public static final Vec.Unit Z
| Method Detail |
|---|
public Vec.Unit neg()
Vec
neg in class Vec