diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-06-14 01:47:53 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-06-14 01:47:53 +0000 |
commit | 30cf67b4ff1def502b3e01b6b10d2a8b0f737dd4 (patch) | |
tree | 369bff62cea50fd5e065890c9dbc65559eb21a42 /libdimension/dimension | |
parent | 811d235bb9bed6adf91d92fb8a293249c49e11fb (diff) | |
download | dimension-30cf67b4ff1def502b3e01b6b10d2a8b0f737dd4.tar.xz |
Improve camera.h comments.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/camera.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/dimension/camera.h b/libdimension/dimension/camera.h index 4ea1cbe..95b36fa 100644 --- a/libdimension/dimension/camera.h +++ b/libdimension/dimension/camera.h @@ -44,7 +44,8 @@ struct dmnsn_camera { dmnsn_camera *dmnsn_new_camera(); void dmnsn_delete_camera(dmnsn_camera *camera); -/* A perspective camera, at the origin, looking at (0, 0, 1). Rays are +/* 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); |