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  (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...
 
var  ( var p0, var p1, var p2, var p3, var tension, var t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...
 
local  ( local p0, local p1, local p2, local p3, local tension, local t)
 Returns the Cardinal Spline position for a given set of control points, tension and time. More...