2
0

ParametricGeometry.html 895 B

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