summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/cameras.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-16 21:31:59 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-16 21:31:59 +0000
commitcf3d6906df7ffb4efa5398832e44ab31fe3b2721 (patch)
tree0ed55ed0a315a27ccb42d3953ceaa9b02a868abd /libdimension/dimension/cameras.h
parentbbe317fb2bde1b2b88df66e5426c9ee78e40a0b6 (diff)
downloaddimension-cf3d6906df7ffb4efa5398832e44ab31fe3b2721.tar.xz
Don't take a transformation matrix in dmnsn_new_perspective_camera().
Diffstat (limited to 'libdimension/dimension/cameras.h')
-rw-r--r--libdimension/dimension/cameras.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/cameras.h b/libdimension/dimension/cameras.h
index b135693..cc7ad4c 100644
--- a/libdimension/dimension/cameras.h
+++ b/libdimension/dimension/cameras.h
@@ -27,8 +27,8 @@
/* A perspective camera, at the origin, looking at (0, 0, 1). The feild of view
is the section of the plane z = 1 from (-0.5, -0.5) to (0.5, 0.5). Rays are
- transformed by the transformation matrix `trans'. */
-dmnsn_camera *dmnsn_new_perspective_camera(dmnsn_matrix trans);
+ transformed by the camera's transformation matrix. */
+dmnsn_camera *dmnsn_new_perspective_camera();
/* Get or set the transformation matrix */
dmnsn_matrix dmnsn_get_perspective_camera_trans(const dmnsn_camera *camera);