cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CCActionCatmullRom.h File Reference
#include <vector>
#include "2d/CCActionInterval.h"
#include "math/CCGeometry.h"

Classes

class  PointArray
 An Array that contain control points. More...
 
class  CardinalSplineTo
 Cardinal Spline path. More...
 
class  CardinalSplineBy
 Cardinal Spline path. More...
 
class  CatmullRomTo
 An action that moves the target with a CatmullRom curve to a destination point. More...
 
class  CatmullRomBy
 An action that moves the target with a CatmullRom curve by a certain distance. More...
 

Namespaces

 cocos2d
 Add deprecated global functions and variables here.
 

Functions

CC_DLL Vec2 ccCardinalSplineAt (Vec2 &p0, Vec2 &p1, Vec2 &p2, Vec2 &p3, float tension, float t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...