es.ucm.look.ar.ar3D.core.camera
Class Camera3D
java.lang.Object
es.ucm.look.ar.ar3D.core.camera.Camera3D
- Direct Known Subclasses:
- OrientedCamera
public class Camera3D
- extends java.lang.Object
Field Summary |
Point3 |
eye
Point pointed by the camera |
Vector3 |
look
|
static Vector3 |
NORTH
Represents a vector pointing to the north in the scene. |
static Vector3 |
UP
Represents a vector pointing towards the sky, and perpendicular to it |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
eye
public Point3 eye
- Point pointed by the camera
look
public Vector3 look
NORTH
public static final Vector3 NORTH
- Represents a vector pointing to the north in the scene. This vector will
be take as reference for some calculations
UP
public static final Vector3 UP
- Represents a vector pointing towards the sky, and perpendicular to it
Camera3D
public Camera3D()
calcVectors
public void calcVectors()
pitch
public void pitch(float angle)
roll
public void roll(float angle)
setCamera
public void setCamera(GL10 gl)
setPosition
public void setPosition(Point3 p)
yaw
public void yaw(float angle)