Package com.gaia3d.renderer.engine.scene
Class Projection
java.lang.Object
com.gaia3d.renderer.engine.scene.Projection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetProjectionOrthographic(float left, float right, float bottom, float top, float near, float far) voidsetProjectionPerspective(float FOV, float Z_NEAR, float Z_FAR) voidsetProjectionType(int projectionType) voidupdateProjMatrix(int width, int height)
-
Constructor Details
-
Projection
public Projection(int projectionType, int width, int height)
-
-
Method Details
-
setProjectionType
public void setProjectionType(int projectionType) -
setProjectionOrthographic
public void setProjectionOrthographic(float left, float right, float bottom, float top, float near, float far) -
setProjectionPerspective
public void setProjectionPerspective(float FOV, float Z_NEAR, float Z_FAR) -
updateProjMatrix
public void updateProjMatrix(int width, int height)
-