diff options
author | Jack Palevich <jackpal@google.com> | 2011-04-21 15:46:27 -0700 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2011-04-21 15:46:27 -0700 |
commit | 7c80244afb9098c75b127c2d785bb6e5b03d68c5 (patch) | |
tree | 4eaf56c31d818142fa75d2c82ee1d4663f67fd08 /opengl | |
parent | b86a6ea41dadae6ee1915cdb9406c51193e97555 (diff) | |
download | frameworks_base-7c80244afb9098c75b127c2d785bb6e5b03d68c5.zip frameworks_base-7c80244afb9098c75b127c2d785bb6e5b03d68c5.tar.gz frameworks_base-7c80244afb9098c75b127c2d785bb6e5b03d68c5.tar.bz2 |
Fix typo in Matrix.mPerspective.
(Introduced by a copy-and-paste mistake when factoring out a common
expression. D'Oh!)
Change-Id: I5e97dde2d2f4564fc74ba69bfa4a2f9db44c8873
Diffstat (limited to 'opengl')
-rw-r--r-- | opengl/java/android/opengl/Matrix.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/java/android/opengl/Matrix.java b/opengl/java/android/opengl/Matrix.java index a412a43..6d80bc6 100644 --- a/opengl/java/android/opengl/Matrix.java +++ b/opengl/java/android/opengl/Matrix.java @@ -362,7 +362,7 @@ public class Matrix { m[offset + 12] = 0.0f; m[offset + 13] = 0.0f; - m[offset + 14] = 2.0f * zFar * rangeReciprocal; + m[offset + 14] = 2.0f * zFar * zNear * rangeReciprocal; m[offset + 15] = 0.0f; } |