Camera API JSDoc fixes

This commit is contained in:
David Rowe 2017-11-30 09:28:45 +13:00
parent 425e2eb82c
commit 4269cc4004
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@
* <td><strong>Entity</strong></td>
* <td><code>"entity"</code></td>
* <td>The camera's position and orientation are set to be the same as a specified entity's, and move with the entity as
( it moves.
* it moves.
* </tr>
* </tbody>
* </table>

View file

@ -40,8 +40,8 @@ class Camera : public QObject {
* The Camera API provides access to the "camera" that defines your view in desktop and HMD display modes.
*
* @namespace Camera
* @property position {Vec3} The position of the camera. You can set this value only when the camera is in entity mode.
* @property orientation {Quat} The orientation of the camera. You can set this value only when the camera is in entity
* @property position {Vec3} The position of the camera. You can set this value only when the camera is in independent mode.
* @property orientation {Quat} The orientation of the camera. You can set this value only when the camera is in independent
* mode.
* @property mode {Camera.Mode} The camera mode.
* @property frustum {ViewFrustum} The camera frustum.