cocos2d-x
3.3
|
#include "2d/CCSprite.h"
#include "cocostudio/CCArmatureDefine.h"
#include "cocostudio/CocosStudioExport.h"
#include <math.h>
Namespaces | |
cocostudio | |
Macros | |
#define | CC_DOUBLE_PI (M_PI*2) |
#define | CC_HALF_PI (M_PI * 0.5f) |
#define | CC_SPRITE_CONTAIN_POINT(sprite, point) isSpriteContainPoint((sprite), (point)) |
#define | CC_SPRITE_CONTAIN_POINT_WITH_RETURN(sprite, point, outPoint) isSpriteContainPoint((sprite), (point), outPoint) |
Functions | |
bool CC_STUDIO_DLL | isSpriteContainPoint (cocos2d::Sprite *sprite, cocos2d::Vec2 point) |
hit test function More... | |
bool CC_STUDIO_DLL | isSpriteContainPoint (cocos2d::Sprite *sprite, cocos2d::Vec2 point, cocos2d::Vec2 &outPoint) |
cocos2d::Vec2 CC_STUDIO_DLL | bezierTo (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3) |
motion curve function More... | |
cocos2d::Vec2 CC_STUDIO_DLL | bezierTo (float t, cocos2d::Vec2 &point1, cocos2d::Vec2 &point2, cocos2d::Vec2 &point3, cocos2d::Vec2 &point4) |
cocos2d::Vec2 CC_STUDIO_DLL | circleTo (float t, cocos2d::Vec2 ¢er, float radius, float fromRadian, float radianDif) |
#define CC_DOUBLE_PI (M_PI*2) |
#define CC_HALF_PI (M_PI * 0.5f) |
#define CC_SPRITE_CONTAIN_POINT | ( | sprite, | |
point | |||
) | isSpriteContainPoint((sprite), (point)) |
#define CC_SPRITE_CONTAIN_POINT_WITH_RETURN | ( | sprite, | |
point, | |||
outPoint | |||
) | isSpriteContainPoint((sprite), (point), outPoint) |