fixed doxygen warning for physics and texture2d

This commit is contained in:
calfjohn 2015-03-27 10:34:01 +08:00
parent cbd8cbae70
commit 0af4f9f1ed
3 changed files with 6 additions and 5 deletions

View File

@ -399,7 +399,7 @@ public:
/** /**
* @brief Set the body mass. * @brief Set the body mass.
* *
* @attension If you need add/subtract mass to body, don't use setMass(getMass() +/- mass), because the mass of body may be equal to PHYSICS_INFINITY, it will cause some unexpected result, please use addMass() instead. * @attention If you need add/subtract mass to body, don't use setMass(getMass() +/- mass), because the mass of body may be equal to PHYSICS_INFINITY, it will cause some unexpected result, please use addMass() instead.
*/ */
void setMass(float mass); void setMass(float mass);

View File

@ -486,7 +486,7 @@ public:
/** /**
* Get this polygon's points array count. * Get this polygon's points array count.
* *
* @preturn An interger number. * @return An interger number.
*/ */
int getPointsCount() const; int getPointsCount() const;
@ -523,7 +523,7 @@ public:
/** /**
* Get this box's width and height. * Get this box's width and height.
* *
* @preturn An Size object. * @return An Size object.
*/ */
Size getSize() const; Size getSize() const;
@ -621,7 +621,7 @@ public:
/** /**
* Get this polygon's points array count. * Get this polygon's points array count.
* *
* @preturn An interger number. * @return An interger number.
*/ */
int getPointsCount() const; int getPointsCount() const;
@ -700,7 +700,7 @@ public:
/** /**
* Get this chain's points array count. * Get this chain's points array count.
* *
* @preturn An interger number. * @return An interger number.
*/ */
int getPointsCount() const; int getPointsCount() const;

View File

@ -282,6 +282,7 @@ public:
@param text A null terminated string. @param text A null terminated string.
@param fontName The font name. @param fontName The font name.
@param fontSize The font size.
@param dimensions The font dimension. @param dimensions The font dimension.
@param hAlignment The font horizontal text alignment type. @param hAlignment The font horizontal text alignment type.
@param vAlignment The font vertical text alignment type. @param vAlignment The font vertical text alignment type.