Back to project page fun-gl.
The source code is released under:
Apache License
If you think the Android project fun-gl listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jcxavier.android.opengl.game.camera; //w w w . j a va 2s .c o m import android.graphics.Point; import com.jcxavier.android.opengl.math.Matrix4; /** * Created on 11/03/2014. * * @author Joo Xavier <jcxavier@jcxavier.com> */ public interface Camera { /** * Updates the screen size in the camera. * * @param screenSize the screen size */ void updateScreenSize(Point screenSize); /** * Retrieves the computed projection matrix for this camera. * * @return the projection matrix */ Matrix4 getProjectionMatrix(); }