From faa34caa4b62342da06ecdffc662cdbdd26bb20e Mon Sep 17 00:00:00 2001 From: 2youyouo2 <501251991@qq.com> Date: Mon, 14 Dec 2015 11:17:39 +0800 Subject: [PATCH] export Curve and Bezier helper --- cocos2d/animation/motion-path-helper.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cocos2d/animation/motion-path-helper.js b/cocos2d/animation/motion-path-helper.js index 438980fc96..9196b340af 100644 --- a/cocos2d/animation/motion-path-helper.js +++ b/cocos2d/animation/motion-path-helper.js @@ -327,5 +327,7 @@ if (CC_TEST) { } module.exports = { - sampleMotionPaths: sampleMotionPaths + sampleMotionPaths: sampleMotionPaths, + Curve: Curve, + Bezier: Bezier };