Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pattern "PxrSeExpr" "PxrSeExpr1"
- "float floatInput1" [0.5] # outer rad
- "float floatInput2" [0.25] # inner rad
- "string expression"
- ["d = dist(s-0.5,t-0.5,0, 0, 0, 0);\
- outer = (d < floatInput1) ? 1 : 0;\
- d = dist(s-0.5,t-0.5,0, 0, 0, 0);\
- inner = (d < floatInput2) ? 0 : 1;\
- resultF = outer * inner;\
- resultF\
- "]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement