|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point3D | |
---|---|
simogl.camera | |
simogl.collision | |
simogl.effect.light | |
simogl.effect.particle | |
simogl.gameobjects | |
simogl.geometry |
Uses of Point3D in simogl.camera |
---|
Methods in simogl.camera that return Point3D | |
---|---|
Point3D |
Camera.getPosition()
Returns the current position of the camera as a Point3D object. |
Uses of Point3D in simogl.collision |
---|
Methods in simogl.collision with parameters of type Point3D | |
---|---|
boolean |
CollisionFinder.collided(Point3D point,
AbstractGameObject go)
This method checks for collision between the specified point and the game object |
boolean |
CollisionFinder.collided(Point3D point,
AbstractMesh mesh)
This method checks for collision between the specified point and the mesh |
java.util.ArrayList<Triangle> |
CollisionFinder.collided(Point3D point,
Terrain terrain)
This method checks, if a collision between a point and the terrain has occured. |
Uses of Point3D in simogl.effect.light |
---|
Methods in simogl.effect.light that return Point3D | |
---|---|
Point3D |
Light.getPosition()
Returns the current position of the light source |
Point3D |
Light.getSpotDirection()
Returns the direction of the spot light |
Uses of Point3D in simogl.effect.particle |
---|
Methods in simogl.effect.particle that return Point3D | |
---|---|
Point3D |
AbstractParticle.getPosition()
Returns the current position of the particle |
Point3D |
AbstractParticle.getVelocity()
Returns the velocity of the particle as a directional vector |
Methods in simogl.effect.particle with parameters of type Point3D | |
---|---|
void |
AbstractParticleEffect.setPosition(Point3D position)
Sets the position of the effect |
void |
AbstractParticle.setPosition(Point3D position)
Sets the particle to the specified coordinates |
void |
AbstractParticle.setVelocity(Point3D velocity)
Sets the particle's velocity to the specified values |
Constructors in simogl.effect.particle with parameters of type Point3D | |
---|---|
AbstractParticle(float size,
Point3D position,
Point3D velocity,
long maxAge)
Creates a new particle |
|
DDParticle(float size,
Point3D position,
Point3D velocity,
long maxAge)
Creates a new particle |
|
DLParticle(javax.media.opengl.GL gl,
float size,
Point3D position,
Point3D velocity,
long maxAge)
Creates a new particle object with the specified parameters |
Uses of Point3D in simogl.gameobjects |
---|
Methods in simogl.gameobjects that return Point3D | |
---|---|
Point3D |
AbstractGameObject.getPosition()
Returns the position of the gane object as a Point3D object |
Methods in simogl.gameobjects with parameters of type Point3D | |
---|---|
void |
AbstractGameObject.setPosition(Point3D position)
Sets the position of the game object |
Uses of Point3D in simogl.geometry |
---|
Methods in simogl.geometry that return Point3D | |
---|---|
Point3D |
Point3D.copy()
Returns a copy of this point |
Point3D |
Point3D.getCrossProduct(Point3D p1,
Point3D p2)
Returns the result of the cross product of two points/vectors |
Point3D |
Triangle.getNormal()
Returns a point/vector representing the triangle's normal |
Point3D |
AbstractMesh.getPosition()
Returns the current Position of the mesh |
Point3D |
AbstractMesh.getRotation()
Returns the degrees of roation of this mesh as an instance of Point3D. |
Point3D |
Triangle.getVertex1()
Gets the first vertex of the triangle |
Point3D |
Triangle.getVertex2()
Gets the second vertex of the triangle |
Point3D |
Triangle.getVertex3()
Gets the third vertex of the triangle |
Point3D |
Point3D.subtract(Point3D p1,
Point3D p2)
Subtracts p1 from p2 and returns the result as a Point3D object |
Methods in simogl.geometry with parameters of type Point3D | |
---|---|
void |
Point3D.add(Point3D point)
Adds the specified point to this point |
Point3D |
Point3D.getCrossProduct(Point3D p1,
Point3D p2)
Returns the result of the cross product of two points/vectors |
float |
Point3D.getDotProduct(Point3D p1,
Point3D p2)
Returns the dot product of the two points/vectors. |
boolean |
Point3D.isEqualTo(Point3D point)
Checks if this point is equal to the given point. |
void |
Triangle.setNormal(Point3D normal)
Sets the normal of the triangle to the specified point/vector |
void |
AbstractMesh.setPosition(Point3D position)
Sets the position of the mesh with a Point3D object |
void |
Point3D.setTo(Point3D point)
Sets the point to the coordinates of the given point |
void |
Point3D.setToCrossProduct(Point3D p1,
Point3D p2)
Sets this point/vector to the result of the cross product of the two specified points/vectors |
void |
Triangle.setVertex1(Point3D point)
Sets the first vertex if the triangle |
void |
Triangle.setVertex2(Point3D point)
Sets the second vertex if the triangle |
void |
Triangle.setVertex3(Point3D point)
Sets the third vertex if the triangle |
void |
Point3D.subtract(Point3D point)
Subtracts the specified point from this point |
Point3D |
Point3D.subtract(Point3D p1,
Point3D p2)
Subtracts p1 from p2 and returns the result as a Point3D object |
Constructors in simogl.geometry with parameters of type Point3D | |
---|---|
Point3D(Point3D point)
|
|
Triangle(Point3D p1,
Point3D p2,
Point3D p3)
Creates a triangle with the specified points as vertices. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |