source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/extras/geometries/TorusGeometry.html@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 1.0 KB
Line 
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
12 <h1>[name]</h1>
13
14 <div class="desc">Creates a torus.</div>
15
16
17 <h2>Constructor</h2>
18
19
20 <h3>[name]([page:Float radius], [page:Float tube], [page:Integer radialSegments], [page:Integer tubularSegments], [page:Float arc])</h3>
21 <div>
22 radius — Default is 100. <br />
23 tube — Diameter of the tube. Default is 40. <br />
24 radialSegments — Default is 8 <br />
25 tubularSegments — Default is 6. <br />
26 arc — Central angle. Default is Math.PI * 2.
27 </div>
28
29
30 <h2>Properties</h2>
31
32 <div>
33 Each of the contructor parameters is accessible as a property of the same name. Any modification of these properties after instantiation does not change the geometry.
34 </div>
35
36 <h2>Source</h2>
37
38 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
39 </body>
40</html>
Note: See TracBrowser for help on using the repository browser.