diff --git a/cocos/2d/CCLight.h b/cocos/2d/CCLight.h index 1c5eeece6e..bdcf706b85 100644 --- a/cocos/2d/CCLight.h +++ b/cocos/2d/CCLight.h @@ -245,7 +245,7 @@ public: * * @param outerAngle The angle of spot light (in radians). */ - void setOuterAngle(float angle); + void setOuterAngle(float outerAngle); /** * Returns the outer angle of the spot light (in radians). diff --git a/cocos/3d/CCSkeleton3D.h b/cocos/3d/CCSkeleton3D.h index 93bdcb6983..f080aadb1f 100644 --- a/cocos/3d/CCSkeleton3D.h +++ b/cocos/3d/CCSkeleton3D.h @@ -68,8 +68,8 @@ public: * @param trans translate vec3 * @param rot rotation quaternion * @param scale scale vec3 - * @param tag, unique tag, only blend animation between different tags - * @param weight, blend weight + * @param tag unique tag, only blend animation between different tags + * @param weight blend weight */ void setAnimationValue(float* trans, float* rot, float* scale, void* tag = nullptr, float weight = 1.0f); diff --git a/cocos/base/CCData.h b/cocos/base/CCData.h index 5fb840d7c1..c254c28dbf 100644 --- a/cocos/base/CCData.h +++ b/cocos/base/CCData.h @@ -128,16 +128,14 @@ public: * The data object is set to empty state, that is internal buffer is set to nullptr * and size is set to zero. * Usage: - *
- * {@code + * @code * Data d; * // ... * ssize_t size; * unsigned char* buffer = d.takeBuffer(&size); * // use buffer and size * free(buffer); - * } - *- * {@code + * @code * std::string sbuf; * FileUtils::getInstance()->getContents("path/to/file", &sbuf); * @@ -201,8 +200,7 @@ public: * * Data dbuf; * FileUtils::getInstance()->getContents("path/to/file", &dbuf); - * } - * and std::basic_string
- * {@code + * @code * NS_CC_BEGIN // ResizableBufferAdapter needed in cocos2d namespace. * template<> * class ResizableBufferAdapter: public ResizableBuffer { @@ -227,8 +224,7 @@ public: * } * }; * NS_CC_END - * } - *