diff --git a/cocos/2d/CCActionCatmullRom.h b/cocos/2d/CCActionCatmullRom.h index 22ccd2b27c..d7dfd0aeae 100644 --- a/cocos/2d/CCActionCatmullRom.h +++ b/cocos/2d/CCActionCatmullRom.h @@ -173,7 +173,7 @@ public: * @code * When this function bound to js or lua,the input params are changed. * In js: var create(var t,var table) - * In lua: lcaol create(local t, local table) + * In lua: local create(local t, local table) * @endcode */ static CardinalSplineTo* create(float duration, PointArray* points, float tension); @@ -249,7 +249,7 @@ public: * @code * When this function bound to js or lua,the input params are changed. * In js: var create(var t,var table). - * In lua: lcaol create(local t, local table). + * In lua: local create(local t, local table). * @param duration In seconds. * @param point An PointArray. * @param tension Goodness of fit. @@ -285,7 +285,7 @@ public: * @code * When this function bound to js or lua,the input params are changed. * In js: var create(var dt,var table). - * In lua: lcaol create(local dt, local table). + * In lua: local create(local dt, local table). * @endcode */ static CatmullRomTo* create(float dt, PointArray* points); @@ -318,7 +318,7 @@ public: * @code * When this function bound to js or lua,the input params are changed. * In js: var create(var dt,var table). - * In lua: lcaol create(local dt, local table). + * In lua: local create(local dt, local table). * @endcode */ static CatmullRomBy* create(float dt, PointArray* points); diff --git a/cocos/2d/CCActionInterval.h b/cocos/2d/CCActionInterval.h index 5ed95b4b37..081c5860d5 100644 --- a/cocos/2d/CCActionInterval.h +++ b/cocos/2d/CCActionInterval.h @@ -393,7 +393,7 @@ public: /** Creates the Spawn action. * * @param action1 The first spawned action. - * @param action2 THe second spawned action. + * @param action2 The second spawned action. * @return An autoreleased Spawn object. * @js NA */ @@ -875,7 +875,7 @@ public: * @code * When this function bound to js or lua,the input params are changed. * in js: var create(var t,var table) - * in lua: lcaol create(local t, local table) + * in lua: local create(local t, local table) * @endcode */ static BezierBy* create(float t, const ccBezierConfig& c); @@ -924,7 +924,7 @@ public: * @code * when this function bound to js or lua,the input params are changed * in js: var create(var t,var table) - * in lua: lcaol create(local t, local table) + * in lua: local create(local t, local table) * @endcode */ static BezierTo* create(float t, const ccBezierConfig& c); diff --git a/cocos/2d/CCAtlasNode.h b/cocos/2d/CCAtlasNode.h index fe280959ba..34721bdffe 100644 --- a/cocos/2d/CCAtlasNode.h +++ b/cocos/2d/CCAtlasNode.h @@ -139,7 +139,7 @@ protected: ssize_t _quadsToDraw; /** Color uniform. */ GLint _uniformColor; - /** This varible is only used for LabelAtlas FPS display. So plz don't modify its value. */ + /** This variable is only used for LabelAtlas FPS display. So plz don't modify its value. */ bool _ignoreContentScaleFactor; /** Quad command. */ QuadCommand _quadCommand; diff --git a/cocos/2d/CCCameraBackgroundBrush.h b/cocos/2d/CCCameraBackgroundBrush.h index 74a461c03f..ef7e8294e1 100644 --- a/cocos/2d/CCCameraBackgroundBrush.h +++ b/cocos/2d/CCCameraBackgroundBrush.h @@ -227,7 +227,7 @@ public: */ static CameraBackgroundSkyBoxBrush* create(); /** - * Set skybox texutre + * Set skybox texture * @param texture Skybox texture */ void setTexture(TextureCube* texture); diff --git a/cocos/2d/CCFastTMXLayer.h b/cocos/2d/CCFastTMXLayer.h index 3562a1aa91..745f93fc06 100644 --- a/cocos/2d/CCFastTMXLayer.h +++ b/cocos/2d/CCFastTMXLayer.h @@ -276,7 +276,7 @@ protected: void updateTiles(const Rect& culledRect); Vec2 calculateLayerOffset(const Vec2& offset); - /* The layer recognizes some special properties, like cc_vertez */ + /* The layer recognizes some special properties, like cc_vertexz */ void parseInternalProperties(); Mat4 tileToNodeTransform(); diff --git a/cocos/2d/CCNode.h b/cocos/2d/CCNode.h index 4a521f81c7..844128aa8c 100644 --- a/cocos/2d/CCNode.h +++ b/cocos/2d/CCNode.h @@ -1809,7 +1809,7 @@ protected: std::string _name; /// 0 diff --git a/cocos/math/Vec3.h b/cocos/math/Vec3.h index c7036b094a..8813a8738c 100644 --- a/cocos/math/Vec3.h +++ b/cocos/math/Vec3.h @@ -275,7 +275,7 @@ public: /** * Normalizes this vector. * - * This method normalizes this Vect3 so that it is of + * This method normalizes this Vec3 so that it is of * unit length (in other words, the length of the vector * after calling this method will be 1.0f). If the vector * already has unit length or if the length of the vector