Skip to content

Commit 2300c4b

Browse files
committed
Merge pull request #2736 from VisualSJ/develop-3.4
Add cc.math.vec3...
2 parents d87edbb + ebb9a74 commit 2300c4b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cocos2d/kazmath/vec3.js

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
}
4040
};
4141

42+
cc.math.vec3 = function(x, y, z){
43+
return new cc.math.Vec3(x, y, z);
44+
};
45+
4246
var proto = cc.math.Vec3.prototype;
4347

4448
proto.fill = function (x, y, z) { // =cc.kmVec3Fill

0 commit comments

Comments
 (0)