ParametricGeometry.html 895 B

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../../list.js"></script>
  6. <script src="../../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../../page.css" />
  8. </head>
  9. <body>
  10. [page:Geometry] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">Generate geometry representing a parametric surface.</div>
  13. <h2>Constructor</h2>
  14. <h3>[name]([page:Function func], [page:Integer slices], [page:Integer stacks])</h3>
  15. <div>
  16. func — A function that takes in a [page:Float u] and [page:Float v] value each between 0 and 1 and returns a [page:Vector3]<br />
  17. slices — The count of slices to use for the parametric function <br />
  18. stacks — The count of stacks to use for the parametric function
  19. </div>
  20. <h2>Source</h2>
  21. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  22. </body>
  23. </html>