Files
cocos4/docs/cocos2d/core/support/pCompOp.js
T

4 lines
107 B
JavaScript

--------------
//For example: let's try to take the floor of x,y
var p = cc.pCompOp(cc.p(10,10),Math.abs);