public class MrPerspectiveLens extends MrLens
mClipEnd, mClipStart, mHeight, mProjectionMatrix, mWidth
Constructor and Description |
---|
MrPerspectiveLens(float fovy,
float aspectRatio,
float clipStart,
float clipEnd) |
Modifier and Type | Method and Description |
---|---|
float |
getFovy() |
MrMatrix4f |
getProjectionMatrix() |
void |
setAspectRatio(float aspectRatio) |
void |
setClipEnd(float clipEnd) |
void |
setClipPlanes(float start,
float end) |
void |
setClipStart(float clipStart) |
void |
setFovy(float fovy) |
getAspectRatio, getClipEnd, getClipStart, getHeight, getWidth, setDimension
public MrPerspectiveLens(float fovy, float aspectRatio, float clipStart, float clipEnd)
public MrMatrix4f getProjectionMatrix()
getProjectionMatrix
in class MrLens
public float getFovy()
public void setFovy(float fovy)
public void setAspectRatio(float aspectRatio)
public void setClipPlanes(float start, float end)
setClipPlanes
in class MrLens
public void setClipStart(float clipStart)
public void setClipEnd(float clipEnd)