Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Pattern "PxrSeExpr" "PxrSeExpr1"
  2. "float floatInput1" [0.5] # outer rad
  3. "float floatInput2" [0.25] # inner rad
  4. "string expression"
  5. ["d = dist(s-0.5,t-0.5,0, 0, 0, 0);\
  6. outer = (d < floatInput1) ? 1 : 0;\
  7. d = dist(s-0.5,t-0.5,0, 0, 0, 0);\
  8. inner = (d < floatInput2) ? 0 : 1;\
  9. resultF = outer * inner;\
  10. resultF\
  11. "]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement