Преглед изворни кода

Merge pull request #522 from blackberry-gaming/next-dgough

Next dgough
Sean Paul Taylor пре 13 година
родитељ
комит
df23cc4bda
4 измењених фајлова са 8 додато и 9 уклоњено
  1. 1 1
      gameplay/src/AudioSource.h
  2. 1 7
      gameplay/src/Node.h
  3. 1 1
      gameplay/src/PhysicsCollisionObject.h
  4. 5 0
      gameplay/src/SpriteBatch.h

+ 1 - 1
gameplay/src/AudioSource.h

@@ -13,7 +13,7 @@ class Node;
 class NodeCloneContext;
 class NodeCloneContext;
 
 
 /**
 /**
- *  Declares an audio source in 3D space.
+ * Declares an audio source in 3D space.
  */
  */
 class AudioSource : public Ref, public Transform::Listener
 class AudioSource : public Ref, public Transform::Listener
 {
 {

+ 1 - 7
gameplay/src/Node.h

@@ -347,9 +347,7 @@ public:
     Vector3 getForwardVectorWorld() const;
     Vector3 getForwardVectorWorld() const;
 
 
     /**
     /**
-     *  Returns the forward vector of the Node in view space.
-     *
-     * @param normalize True to return the vector normalized, false (default) otherwise.
+     * Returns the forward vector of the Node in view space.
      *
      *
      * @return The forwward vector in view space.
      * @return The forwward vector in view space.
      */
      */
@@ -358,8 +356,6 @@ public:
     /**
     /**
      * Returns the right vector of the Node in world space.
      * Returns the right vector of the Node in world space.
      *
      *
-     * @param normalize True to return the vector normalized, false (default) otherwise.
-     *
      * @return The right vector in world space.
      * @return The right vector in world space.
      */
      */
     Vector3 getRightVectorWorld() const;
     Vector3 getRightVectorWorld() const;
@@ -367,8 +363,6 @@ public:
     /**
     /**
      * Returns the up vector of the Node in world space.
      * Returns the up vector of the Node in world space.
      *
      *
-     * @param normalize True to return the vector normalized, false (default) otherwise.
-     *
      * @return The up vector in world space.
      * @return The up vector in world space.
      */
      */
     Vector3 getUpVectorWorld() const;
     Vector3 getUpVectorWorld() const;

+ 1 - 1
gameplay/src/PhysicsCollisionObject.h

@@ -178,7 +178,7 @@ public:
     /**
     /**
      * Sets the collision object be enabled or disabled.
      * Sets the collision object be enabled or disabled.
      *
      *
-     * @param enable true enables the collision object, false diables it.
+     * @param enable true enables the collision object, false disables it.
      */
      */
     void setEnabled(bool enable);
     void setEnabled(bool enable);
 
 

+ 5 - 0
gameplay/src/SpriteBatch.h

@@ -273,6 +273,11 @@ public:
      */
      */
     void setProjectionMatrix(const Matrix& matrix);
     void setProjectionMatrix(const Matrix& matrix);
 
 
+    /**
+     * Gets the projection matrix for the SpriteBatch.
+     * 
+     * @return The projection matrix.
+     */
     const Matrix& getProjectionMatrix() const;
     const Matrix& getProjectionMatrix() const;
 
 
 private:
 private: