From 366989769fd9465f4a48cfccdff43be247a2523d Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Wed, 21 Jan 2009 13:26:17 +0000 Subject: [PATCH] Fixed camera doc. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@315 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- include/aiCamera.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/aiCamera.h b/include/aiCamera.h index b04b0267f..0d7d441eb 100644 --- a/include/aiCamera.h +++ b/include/aiCamera.h @@ -56,13 +56,6 @@ extern "C" { /** Helper structure to describe a virtual camera. * * Cameras have a representation in the node graph and can be animated. - * Note - some file formats (such as 3DS, ASE) export a "target point" - - * the point the camera is looking at (it can even be animated). Assimp - * writes the target point as a subnode of the camera's main node, - * called ".Target". However, this is just additional information - * then, the transformation tracks of the camera main node make the - * camera already look in the right direction. - *
* An important aspect is that the camera itself is also part of the * scenegraph. This means, any values such as the look-at vector are not * *absolute*, they're relative to the coordinate system defined @@ -70,7 +63,7 @@ extern "C" { * animations. For static cameras parameters like the 'look-at' or 'up' vectors * are usually specified directly in aiCamera, but beware, they could also * be encoded in the node transformation. The following (pseudo)code sample - * shows how to do it: + * shows how to do it:

* @code * // Get the camera matrix for a camera at a specific time * // if the node hierarchy for the camera does not contain @@ -93,6 +86,13 @@ extern "C" { * cam = mult-matrices (cam, get-camera-matrix(cmt) ) * } * @endcode + * + * @note some file formats (such as 3DS, ASE) export a "target point" - + * the point the camera is looking at (it can even be animated). Assimp + * writes the target point as a subnode of the camera's main node, + * called ".Target". However this is just additional information + * then, the transformation tracks of the camera main node make the + * camera already look in the right direction. * */ struct aiCamera