|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Vector3D in com.brackeen.javagamebook.ai |
Methods in com.brackeen.javagamebook.ai with parameters of type Vector3D | |
void |
AIBot.fireProjectile(Vector3D direction)
Fires a projectile in the specified direction. |
Constructors in com.brackeen.javagamebook.ai with parameters of type Vector3D | |
Projectile(PolygonGroup polygonGroup,
Vector3D direction,
AIBot sourceBot,
int minDamage,
int maxDamage)
Create a new Blast with the specified PolygonGroup and normalized vector direction. |
Uses of Vector3D in com.brackeen.javagamebook.ai.pattern |
Methods in com.brackeen.javagamebook.ai.pattern with parameters of type Vector3D | |
java.util.Iterator |
AIPattern.find(Vector3D start,
Vector3D goal)
The method isn't implemented for AIPatterns |
Uses of Vector3D in com.brackeen.javagamebook.bsp2D |
Methods in com.brackeen.javagamebook.bsp2D that return Vector3D | |
Vector3D |
Portal.getMidPoint()
Gets the mid-point along this Portal's divider. |
Methods in com.brackeen.javagamebook.bsp2D with parameters of type Vector3D | |
void |
BSPTreeTraverser.traverse(BSPTree tree,
Vector3D viewLocation)
Traverses a tree in draw-order (front-to-back) using the specified view location. |
BSPPolygon |
BSPPolygon.clone(Vector3D[] vertices)
Clone this polygon, but with a different set of vertices. |
Constructors in com.brackeen.javagamebook.bsp2D with parameters of type Vector3D | |
BSPPolygon(Vector3D[] vertices,
int type)
Creates a new BSPPolygon with the specified vertices and type (TYPE_FLOOR, TYPE_WALL, or TYPE_PASSABLE_WALL). |
Uses of Vector3D in com.brackeen.javagamebook.game |
Methods in com.brackeen.javagamebook.game that return Vector3D | |
Vector3D |
GameObject.getLocation()
Shortcut to get the location of this GameObject from the Transform3D. |
Methods in com.brackeen.javagamebook.game with parameters of type Vector3D | |
boolean |
GridGameObjectManager.checkObjectCollision(GameObject object,
Vector3D oldLocation)
Checks to see if the specified object collides with any other object. |
BSPPolygon |
CollisionDetectionWithSliding.checkWalls(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks for a game object collision with the walls of the BSP tree. |
boolean |
CollisionDetection.checkBSP(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks a GameObject against the BSP tree. |
BSPPolygon |
CollisionDetection.checkWalls(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks for a game object collision with the walls of the BSP tree. |
boolean |
CollisionDetection.checkObject(GameObject objectA,
java.util.List objects,
Vector3D oldLocation)
Checks if the specified object collisions with any other object in the specified list. |
boolean |
CollisionDetection.checkObject(GameObject objectA,
GameObject objectB,
Vector3D oldLocation)
Returns true if the two specified objects collide. |
Uses of Vector3D in com.brackeen.javagamebook.math3D |
Subclasses of Vector3D in com.brackeen.javagamebook.math3D | |
class |
PointLight3D
A PointLight3D is a point light that has an intensity (between 0 and 1) and optionally a distance falloff value, which causes the light to diminish with distance. |
Methods in com.brackeen.javagamebook.math3D that return Vector3D | |
Vector3D |
Transform3D.getLocation()
Gets the location (translation) of this transform. |
Vector3D |
Rectangle3D.getOrigin()
Gets the origin of this Rectangle3D. |
Vector3D |
Rectangle3D.getDirectionU()
Gets the direction of the base of this Rectangle3D. |
Vector3D |
Rectangle3D.getDirectionV()
Gets the direction of the side of this Rectangle3D. |
Vector3D |
Rectangle3D.getNormal()
Gets the normal of this Rectangle3D. |
Vector3D |
Polygon3D.getVertex(int index)
Gets the vertex at the specified index. |
Vector3D |
Polygon3D.calcNormal()
Calculates the unit-vector normal of this polygon. |
Vector3D |
Polygon3D.getNormal()
Gets the normal of this polygon. |
Vector3D |
MovingTransform3D.getVelocity()
Gets the velocity vector. |
Methods in com.brackeen.javagamebook.math3D with parameters of type Vector3D | |
void |
ViewWindow.project(Vector3D v)
Projects the specified vector to the screen. |
void |
Vector3D.setTo(Vector3D v)
Sets the vector to the same values as the specified Vector3D. |
void |
Vector3D.add(Vector3D v)
Adds the specified vector to this vector. |
void |
Vector3D.subtract(Vector3D v)
Subtracts the specified vector from this vector. |
float |
Vector3D.getDotProduct(Vector3D v)
Returns the dot product of this vector and the specified vector. |
void |
Vector3D.setToCrossProduct(Vector3D u,
Vector3D v)
Sets this vector to the cross product of the two specified vectors. |
float |
Vector3D.getDistanceSq(Vector3D v)
Gets the distance squared between this vector and the specified vector. |
float |
Vector3D.getDistance(Vector3D v)
Gets the distance between this vector and the specified vector. |
void |
Transformable.add(Vector3D u)
|
void |
Transformable.subtract(Vector3D u)
|
void |
TexturedPolygon3D.add(Vector3D u)
|
void |
TexturedPolygon3D.subtract(Vector3D u)
|
void |
Rectangle3D.setNormal(Vector3D n)
Sets the normal of this Rectangle3D. |
void |
Rectangle3D.add(Vector3D u)
|
void |
Rectangle3D.subtract(Vector3D u)
|
void |
PolygonGroup.add(Vector3D u)
|
void |
PolygonGroup.subtract(Vector3D u)
|
void |
Polygon3D.add(Vector3D u)
|
void |
Polygon3D.subtract(Vector3D u)
|
void |
Polygon3D.setNormal(Vector3D n)
Sets the normal of this polygon. |
boolean |
Polygon3D.isFacing(Vector3D u)
Tests if this polygon is facing the specified location. |
void |
Polygon3D.insertVertex(int index,
Vector3D vertex)
Inserts a vertex into this polygon at the specified index. |
void |
MovingTransform3D.moveTo(Vector3D destination,
float speed)
Sets the velocity to move to the following destination at the specified speed. |
void |
MovingTransform3D.setVelocity(Vector3D v)
Sets the velocity to the specified vector. |
void |
MovingTransform3D.setVelocity(Vector3D v,
long time)
Sets the velocity. |
void |
MovingTransform3D.addVelocity(Vector3D v)
Adds the specified velocity to the current velocity. |
Constructors in com.brackeen.javagamebook.math3D with parameters of type Vector3D | |
Vector3D(Vector3D v)
Creates a new Vector3D with the same values as the specified Vector3D. |
|
TexturedPolygon3D(Vector3D v0,
Vector3D v1,
Vector3D v2)
|
|
TexturedPolygon3D(Vector3D v0,
Vector3D v1,
Vector3D v2,
Vector3D v3)
|
|
TexturedPolygon3D(Vector3D[] vertices)
|
|
SolidPolygon3D(Vector3D v0,
Vector3D v1,
Vector3D v2)
|
|
SolidPolygon3D(Vector3D v0,
Vector3D v1,
Vector3D v2,
Vector3D v3)
|
|
SolidPolygon3D(Vector3D[] vertices)
|
|
Rectangle3D(Vector3D origin,
Vector3D directionU,
Vector3D directionV,
float width,
float height)
Creates a new Rectangle3D with the specified origin, direction of the base (directionU) and direction of the side (directionV). |
|
Polygon3D(Vector3D v0,
Vector3D v1,
Vector3D v2)
Creates a new Polygon3D with the specified vertices. |
|
Polygon3D(Vector3D v0,
Vector3D v1,
Vector3D v2,
Vector3D v3)
Creates a new Polygon3D with the specified vertices. |
|
Polygon3D(Vector3D[] vertices)
Creates a new Polygon3D with the specified vertices. |
Uses of Vector3D in com.brackeen.javagamebook.path |
Methods in com.brackeen.javagamebook.path with parameters of type Vector3D | |
java.util.Iterator |
PathFinder.find(Vector3D start,
Vector3D goal)
Finds a path from the start location to the goal location. |
void |
PathBot.setFacing(Vector3D facing)
Sets the location this object should face as it follows the path. |
java.util.Iterator |
AStarSearchWithBSP.find(Vector3D start,
Vector3D goal)
|
Constructors in com.brackeen.javagamebook.path with parameters of type Vector3D | |
AStarSearchWithBSP.LeafNode(BSPTree.Leaf leaf,
Vector3D location)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |