public class WorldVector extends Vector
| Constructor and Description |
|---|
WorldVector(LocalWorld world)
Construct the Vector object.
|
WorldVector(LocalWorld world,
double x,
double y,
double z)
Construct the Vector object.
|
WorldVector(LocalWorld world,
float x,
float y,
float z)
Construct the Vector object.
|
WorldVector(LocalWorld world,
int x,
int y,
int z)
Construct the Vector object.
|
WorldVector(LocalWorld world,
Vector pt)
Construct the Vector object.
|
| Modifier and Type | Method and Description |
|---|---|
LocalWorld |
getWorld()
Get the world.
|
static WorldVector |
toBlockPoint(LocalWorld world,
double x,
double y,
double z)
Get a block point from a point.
|
BlockWorldVector |
toWorldBlockVector()
Gets a BlockVector version.
|
add, add, add, add, ceil, clampY, compareTo, containedWithin, containedWithinBlock, cross, distance, distanceSq, divide, divide, divide, divide, divide, divide, dot, equals, floor, getBlockX, getBlockY, getBlockZ, getMaximum, getMidpoint, getMinimum, getX, getY, getZ, hashCode, isCollinearWith, length, lengthSq, multiply, multiply, multiply, multiply, multiply, multiply, multiply, normalize, positive, round, setX, setX, setY, setY, setZ, setZ, subtract, subtract, subtract, subtract, toBlockPoint, toBlockPoint, toBlockVector, toString, toVector2D, transform2Dpublic WorldVector(LocalWorld world, double x, double y, double z)
world - x - y - z - public WorldVector(LocalWorld world, int x, int y, int z)
world - x - y - z - public WorldVector(LocalWorld world, float x, float y, float z)
world - x - y - z - public WorldVector(LocalWorld world, Vector pt)
world - pt - public WorldVector(LocalWorld world)
world - public LocalWorld getWorld()
public static WorldVector toBlockPoint(LocalWorld world, double x, double y, double z)
world - x - y - z - public BlockWorldVector toWorldBlockVector()
Copyright © 2010-2014. All Rights Reserved.