Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

first arg of glu-perspective is fovy, so use the same name in fn frus…


Also move the doc string behind the fn name.
  • Loading branch information...
commit 2af8079c8b885673dbf458f7f7c9984eda41770d 1 parent fe7c58b
@mva mva authored committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/penumbra/opengl.clj
5 src/penumbra/opengl.clj
@@ -146,11 +146,12 @@
(gl-ortho left right bottom top near far)
(gl-matrix-mode :modelview))
-(defn frustum-view [fovx aspect near far]
+(defn frustum-view
"Create a standard perspective view."
+ [fovy aspect near far]
(gl-matrix-mode :projection)
- (glu-perspective (double fovx) (double aspect) (double near) (double far))
+ (glu-perspective (double fovy) (double aspect) (double near) (double far))
(gl-matrix-mode :modelview))
Please sign in to comment.
Something went wrong with that request. Please try again.