Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \n// Example torus.bvr\n \n// Parametric surface\ntor=parametricSurface\ntor.setMinMax=s,0,6.28\ntor.setMinMax=t,0,6.28\ntor.setEquation=x,((2+cos(t))*cos(s))\ntor.setEquation=y,((2+cos(t))*sin(s)) \ntor.setEquation=z,(sin(t)) \ntor.setSegmentCount=20\ntor.color=blue\ntor.spawn
Advertisement
Add Comment
Please, Sign In to add comment