Package com.gaia3d.renderer.engine.scene
Class Projection
java.lang.Object
com.gaia3d.renderer.engine.scene.Projection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setProjectionOrthographic
(float left, float right, float bottom, float top, float near, float far) void
setProjectionPerspective
(float FOV, float Z_NEAR, float Z_FAR) void
setProjectionType
(int projectionType) void
updateProjMatrix
(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)
-