|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenpiano.gl.Camera
public class Camera
Camera class to set up the user's point of view
| Constructor Summary | |
|---|---|
Camera(Settings settings)
Construct a camera ontroller controllerwith default settings |
|
| Method Summary | |
|---|---|
float |
getVisibleArea()
Returns the last visible GLFloat |
float |
getXPosition()
Returns the actual x-position |
void |
setAngle(float angle)
Sets the actual angle |
void |
setXPosition(float x)
Sets the actual x-position |
void |
setZoomFactor(float zoomFactor)
Sets the actual zoom factor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Camera(Settings settings)
| Method Detail |
|---|
public void setXPosition(float x)
x - the actual x-positionpublic float getXPosition()
public void setAngle(float angle)
angle - the actual anglepublic float getVisibleArea()
public void setZoomFactor(float zoomFactor)
zoom -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||