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; // ww w . jav a 2 s . co m import android.graphics.Point; import com.jcxavier.android.opengl.math.Matrix4; /** * Created on 14/03/2014. * * @author Joo Xavier <jcxavier@jcxavier.com> */ public class DefaultCamera implements Camera { private final Matrix4 mProjectionMatrix; /** * Creates a default camera with an identity matrix. */ public DefaultCamera() { mProjectionMatrix = new Matrix4(); } @Override public void updateScreenSize(final Point screenSize) { } @Override public Matrix4 getProjectionMatrix() { return mProjectionMatrix; } }