jsc3d-rails 1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +21 -0
  4. data/README.md +33 -0
  5. data/jsc3d-rails.gemspec +23 -0
  6. data/lib/generators/jquery/install/install_generator.rb +59 -0
  7. data/lib/jsc3d-rails.rb +1 -0
  8. data/lib/jsc3d/rails.rb +8 -0
  9. data/lib/jsc3d/rails/engine.rb +6 -0
  10. data/lib/jsc3d/rails/version.rb +6 -0
  11. data/vendor/assets/javascripts/bin/jsc3d.min.js +139 -0
  12. data/vendor/assets/javascripts/bin/jsc3d_ie.min.js +133 -0
  13. data/vendor/assets/javascripts/build/compile.bat +1 -0
  14. data/vendor/assets/javascripts/build/compile.sh +2 -0
  15. data/vendor/assets/javascripts/build/gendoc.bat +2 -0
  16. data/vendor/assets/javascripts/build/gendoc.sh +2 -0
  17. data/vendor/assets/javascripts/docs/files.html +247 -0
  18. data/vendor/assets/javascripts/docs/index.html +349 -0
  19. data/vendor/assets/javascripts/docs/symbols/JSC3D.AABB.html +436 -0
  20. data/vendor/assets/javascripts/docs/symbols/JSC3D.BinaryStream.html +1051 -0
  21. data/vendor/assets/javascripts/docs/symbols/JSC3D.LoaderSelector.html +455 -0
  22. data/vendor/assets/javascripts/docs/symbols/JSC3D.Material.html +430 -0
  23. data/vendor/assets/javascripts/docs/symbols/JSC3D.Math3D.html +468 -0
  24. data/vendor/assets/javascripts/docs/symbols/JSC3D.Matrix3x4.html +682 -0
  25. data/vendor/assets/javascripts/docs/symbols/JSC3D.Mesh.html +628 -0
  26. data/vendor/assets/javascripts/docs/symbols/JSC3D.ObjLoader.html +428 -0
  27. data/vendor/assets/javascripts/docs/symbols/JSC3D.PickInfo.html +332 -0
  28. data/vendor/assets/javascripts/docs/symbols/JSC3D.Scene.html +571 -0
  29. data/vendor/assets/javascripts/docs/symbols/JSC3D.StlLoader.html +473 -0
  30. data/vendor/assets/javascripts/docs/symbols/JSC3D.Texture.html +589 -0
  31. data/vendor/assets/javascripts/docs/symbols/JSC3D.Viewer.html +1156 -0
  32. data/vendor/assets/javascripts/docs/symbols/JSC3D.html +329 -0
  33. data/vendor/assets/javascripts/docs/symbols/_global_.html +279 -0
  34. data/vendor/assets/javascripts/docs/symbols/src/jsc3d.js.html +4804 -0
  35. data/vendor/assets/javascripts/jsc3d.console.js +146 -0
  36. data/vendor/assets/javascripts/jsc3d.js +4796 -0
  37. data/vendor/assets/javascripts/jsc3d_ie.js +4487 -0
  38. data/vendor/assets/javascripts/tools/closure/COPYING +202 -0
  39. data/vendor/assets/javascripts/tools/closure/README +261 -0
  40. data/vendor/assets/javascripts/tools/closure/USAGE +87 -0
  41. data/vendor/assets/javascripts/tools/closure/compiler.jar +0 -0
  42. data/vendor/assets/javascripts/tools/doc_generator/README.txt +146 -0
  43. data/vendor/assets/javascripts/tools/doc_generator/app/frame.js +33 -0
  44. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Chain.js +102 -0
  45. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Dumper.js +144 -0
  46. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Hash.js +84 -0
  47. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Link.js +148 -0
  48. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Namespace.js +10 -0
  49. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Opt.js +134 -0
  50. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Reflection.js +26 -0
  51. data/vendor/assets/javascripts/tools/doc_generator/app/frame/String.js +93 -0
  52. data/vendor/assets/javascripts/tools/doc_generator/app/frame/Testrun.js +129 -0
  53. data/vendor/assets/javascripts/tools/doc_generator/app/handlers/FOODOC.js +26 -0
  54. data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC.js +26 -0
  55. data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/DomReader.js +159 -0
  56. data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/XMLDoc.js +16 -0
  57. data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/XMLParse.js +292 -0
  58. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC.js +101 -0
  59. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/DocComment.js +200 -0
  60. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/DocTag.js +294 -0
  61. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/JsDoc.js +126 -0
  62. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/JsPlate.js +109 -0
  63. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Lang.js +144 -0
  64. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Parser.js +107 -0
  65. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/PluginManager.js +33 -0
  66. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Symbol.js +643 -0
  67. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/SymbolSet.js +229 -0
  68. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TextStream.js +41 -0
  69. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Token.js +18 -0
  70. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TokenReader.js +332 -0
  71. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TokenStream.js +133 -0
  72. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Util.js +32 -0
  73. data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Walker.js +459 -0
  74. data/vendor/assets/javascripts/tools/doc_generator/app/main.js +111 -0
  75. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/commentSrcJson.js +20 -0
  76. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/frameworkPrototype.js +16 -0
  77. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/functionCall.js +10 -0
  78. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/publishSrcHilite.js +62 -0
  79. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/symbolLink.js +9 -0
  80. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/tagParamConfig.js +31 -0
  81. data/vendor/assets/javascripts/tools/doc_generator/app/plugins/tagSynonyms.js +43 -0
  82. data/vendor/assets/javascripts/tools/doc_generator/app/run.js +348 -0
  83. data/vendor/assets/javascripts/tools/doc_generator/app/t/TestDoc.js +144 -0
  84. data/vendor/assets/javascripts/tools/doc_generator/app/t/runner.js +13 -0
  85. data/vendor/assets/javascripts/tools/doc_generator/app/test.js +307 -0
  86. data/vendor/assets/javascripts/tools/doc_generator/app/test/addon.js +24 -0
  87. data/vendor/assets/javascripts/tools/doc_generator/app/test/anon_inner.js +14 -0
  88. data/vendor/assets/javascripts/tools/doc_generator/app/test/augments.js +31 -0
  89. data/vendor/assets/javascripts/tools/doc_generator/app/test/augments2.js +26 -0
  90. data/vendor/assets/javascripts/tools/doc_generator/app/test/borrows.js +41 -0
  91. data/vendor/assets/javascripts/tools/doc_generator/app/test/borrows2.js +23 -0
  92. data/vendor/assets/javascripts/tools/doc_generator/app/test/config.js +22 -0
  93. data/vendor/assets/javascripts/tools/doc_generator/app/test/constructs.js +18 -0
  94. data/vendor/assets/javascripts/tools/doc_generator/app/test/encoding.js +10 -0
  95. data/vendor/assets/javascripts/tools/doc_generator/app/test/encoding_other.js +12 -0
  96. data/vendor/assets/javascripts/tools/doc_generator/app/test/event.js +54 -0
  97. data/vendor/assets/javascripts/tools/doc_generator/app/test/functions_anon.js +39 -0
  98. data/vendor/assets/javascripts/tools/doc_generator/app/test/functions_nested.js +33 -0
  99. data/vendor/assets/javascripts/tools/doc_generator/app/test/global.js +13 -0
  100. data/vendor/assets/javascripts/tools/doc_generator/app/test/globals.js +25 -0
  101. data/vendor/assets/javascripts/tools/doc_generator/app/test/ignore.js +10 -0
  102. data/vendor/assets/javascripts/tools/doc_generator/app/test/inner.js +16 -0
  103. data/vendor/assets/javascripts/tools/doc_generator/app/test/jsdoc_test.js +477 -0
  104. data/vendor/assets/javascripts/tools/doc_generator/app/test/lend.js +33 -0
  105. data/vendor/assets/javascripts/tools/doc_generator/app/test/memberof.js +19 -0
  106. data/vendor/assets/javascripts/tools/doc_generator/app/test/memberof_constructor.js +17 -0
  107. data/vendor/assets/javascripts/tools/doc_generator/app/test/name.js +19 -0
  108. data/vendor/assets/javascripts/tools/doc_generator/app/test/namespace_nested.js +23 -0
  109. data/vendor/assets/javascripts/tools/doc_generator/app/test/nocode.js +13 -0
  110. data/vendor/assets/javascripts/tools/doc_generator/app/test/oblit_anon.js +20 -0
  111. data/vendor/assets/javascripts/tools/doc_generator/app/test/overview.js +20 -0
  112. data/vendor/assets/javascripts/tools/doc_generator/app/test/param_inline.js +37 -0
  113. data/vendor/assets/javascripts/tools/doc_generator/app/test/params_optional.js +8 -0
  114. data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype.js +17 -0
  115. data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_nested.js +9 -0
  116. data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_oblit.js +13 -0
  117. data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_oblit_constructor.js +24 -0
  118. data/vendor/assets/javascripts/tools/doc_generator/app/test/public.js +10 -0
  119. data/vendor/assets/javascripts/tools/doc_generator/app/test/shared.js +42 -0
  120. data/vendor/assets/javascripts/tools/doc_generator/app/test/shared2.js +2 -0
  121. data/vendor/assets/javascripts/tools/doc_generator/app/test/shortcuts.js +22 -0
  122. data/vendor/assets/javascripts/tools/doc_generator/app/test/static_this.js +13 -0
  123. data/vendor/assets/javascripts/tools/doc_generator/app/test/synonyms.js +31 -0
  124. data/vendor/assets/javascripts/tools/doc_generator/app/test/tosource.js +23 -0
  125. data/vendor/assets/javascripts/tools/doc_generator/app/test/variable_redefine.js +14 -0
  126. data/vendor/assets/javascripts/tools/doc_generator/changes.txt +75 -0
  127. data/vendor/assets/javascripts/tools/doc_generator/conf/sample.conf +31 -0
  128. data/vendor/assets/javascripts/tools/doc_generator/java/build.xml +36 -0
  129. data/vendor/assets/javascripts/tools/doc_generator/java/build_1.4.xml +36 -0
  130. data/vendor/assets/javascripts/tools/doc_generator/java/classes/js.jar +0 -0
  131. data/vendor/assets/javascripts/tools/doc_generator/java/src/JsDebugRun.java +21 -0
  132. data/vendor/assets/javascripts/tools/doc_generator/java/src/JsRun.java +21 -0
  133. data/vendor/assets/javascripts/tools/doc_generator/jsdebug.jar +0 -0
  134. data/vendor/assets/javascripts/tools/doc_generator/jsrun.jar +0 -0
  135. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/allclasses.tmpl +17 -0
  136. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/allfiles.tmpl +56 -0
  137. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/class.tmpl +646 -0
  138. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/index.tmpl +39 -0
  139. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/publish.js +184 -0
  140. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/default.css +165 -0
  141. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/header.html +2 -0
  142. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/index.html +19 -0
  143. data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/symbol.tmpl +35 -0
  144. metadata +234 -0
@@ -0,0 +1,628 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
+ <meta name="generator" content="JsDoc Toolkit" />
7
+
8
+ <title>JsDoc Reference - JSC3D.Mesh</title>
9
+
10
+ <style type="text/css">
11
+ /* default.css */
12
+
13
+
14
+ body
15
+ {
16
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
17
+ width: 800px;
18
+ }
19
+
20
+ .header
21
+ {
22
+ clear: both;
23
+ background-color: #ccc;
24
+ padding: 8px;
25
+ }
26
+
27
+ h1
28
+ {
29
+ font-size: 150%;
30
+ font-weight: bold;
31
+ padding: 0;
32
+ margin: 1em 0 0 .3em;
33
+ }
34
+
35
+ hr
36
+ {
37
+ border: none 0;
38
+ border-top: 1px solid #7F8FB1;
39
+ height: 1px;
40
+ }
41
+
42
+ pre.code
43
+ {
44
+ display: inline;
45
+ // padding: 8px;
46
+ // border: 1px dashed #ccc;
47
+ background-color: #4AA02C;
48
+ }
49
+
50
+ #index
51
+ {
52
+ margin-top: 24px;
53
+ float: left;
54
+ width: 160px;
55
+ position: absolute;
56
+ left: 8px;
57
+ background-color: #F3F3F3;
58
+ padding: 8px;
59
+ }
60
+
61
+ #content
62
+ {
63
+ margin-left: 190px;
64
+ width: 600px;
65
+ }
66
+
67
+ .classList
68
+ {
69
+ list-style-type: none;
70
+ padding: 0;
71
+ margin: 0 0 0 8px;
72
+ font-family: arial, sans-serif;
73
+ font-size: 1em;
74
+ overflow: auto;
75
+ }
76
+
77
+ .classList li
78
+ {
79
+ padding: 0;
80
+ margin: 0 0 8px 0;
81
+ }
82
+
83
+ .summaryTable { width: 100%; }
84
+
85
+ h1.classTitle
86
+ {
87
+ font-size:170%;
88
+ line-height:130%;
89
+ }
90
+
91
+ h2 { font-size: 110%; }
92
+ caption, div.sectionTitle
93
+ {
94
+ background-color: #7F8FB1;
95
+ color: #fff;
96
+ font-size:130%;
97
+ text-align: left;
98
+ padding: 2px 6px 2px 6px;
99
+ border: 1px #7F8FB1 solid;
100
+ }
101
+
102
+ div.sectionTitle { margin-bottom: 8px; }
103
+ .summaryTable thead { display: none; }
104
+
105
+ .summaryTable td
106
+ {
107
+ vertical-align: top;
108
+ padding: 4px;
109
+ border-bottom: 1px #7F8FB1 solid;
110
+ border-right: 1px #7F8FB1 solid;
111
+ }
112
+
113
+ /*col#summaryAttributes {}*/
114
+ .summaryTable td.attributes
115
+ {
116
+ border-left: 1px #7F8FB1 solid;
117
+ width: 140px;
118
+ text-align: right;
119
+ }
120
+
121
+ td.attributes, .fixedFont
122
+ {
123
+ line-height: 15px;
124
+ color: #002EBE;
125
+ font-family: "Courier New",Courier,monospace;
126
+ font-size: 13px;
127
+ }
128
+
129
+ .summaryTable td.nameDescription
130
+ {
131
+ text-align: left;
132
+ font-size: 13px;
133
+ line-height: 15px;
134
+ }
135
+
136
+ .summaryTable td.nameDescription, .description
137
+ {
138
+ line-height: 15px;
139
+ padding: 4px;
140
+ padding-left: 4px;
141
+ }
142
+
143
+ .summaryTable { margin-bottom: 8px; }
144
+
145
+ ul.inheritsList
146
+ {
147
+ list-style: square;
148
+ margin-left: 20px;
149
+ padding-left: 0;
150
+ }
151
+
152
+ .detailList {
153
+ margin-left: 20px;
154
+ line-height: 15px;
155
+ }
156
+ .detailList dt { margin-left: 20px; }
157
+
158
+ .detailList .heading
159
+ {
160
+ font-weight: bold;
161
+ padding-bottom: 6px;
162
+ margin-left: 0;
163
+ }
164
+
165
+ .light, td.attributes, .light a:link, .light a:visited
166
+ {
167
+ color: #777;
168
+ font-style: italic;
169
+ }
170
+
171
+ .fineprint
172
+ {
173
+ text-align: right;
174
+ font-size: 10px;
175
+ }
176
+ </style>
177
+ </head>
178
+
179
+ <body>
180
+ <!-- ============================== header ================================= -->
181
+ <!-- begin static/header.html -->
182
+ <div id="header">
183
+ </div>
184
+ <!-- end static/header.html -->
185
+
186
+ <!-- ============================== classes index ============================ -->
187
+ <div id="index">
188
+ <!-- begin publish.classesIndex -->
189
+ <div align="center"><a href="../index.html">Class Index</a>
190
+ | <a href="../files.html">File Index</a></div>
191
+ <hr />
192
+ <h2>Classes</h2>
193
+ <ul class="classList">
194
+
195
+ <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
196
+
197
+ <li><a href="../symbols/JSC3D.html">JSC3D</a></li>
198
+
199
+ <li><a href="../symbols/JSC3D.AABB.html">JSC3D.AABB</a></li>
200
+
201
+ <li><a href="../symbols/JSC3D.BinaryStream.html">JSC3D.BinaryStream</a></li>
202
+
203
+ <li><a href="../symbols/JSC3D.LoaderSelector.html">JSC3D.LoaderSelector</a></li>
204
+
205
+ <li><a href="../symbols/JSC3D.Material.html">JSC3D.Material</a></li>
206
+
207
+ <li><a href="../symbols/JSC3D.Math3D.html">JSC3D.Math3D</a></li>
208
+
209
+ <li><a href="../symbols/JSC3D.Matrix3x4.html">JSC3D.Matrix3x4</a></li>
210
+
211
+ <li><a href="../symbols/JSC3D.Mesh.html">JSC3D.Mesh</a></li>
212
+
213
+ <li><a href="../symbols/JSC3D.ObjLoader.html">JSC3D.ObjLoader</a></li>
214
+
215
+ <li><a href="../symbols/JSC3D.PickInfo.html">JSC3D.PickInfo</a></li>
216
+
217
+ <li><a href="../symbols/JSC3D.Scene.html">JSC3D.Scene</a></li>
218
+
219
+ <li><a href="../symbols/JSC3D.StlLoader.html">JSC3D.StlLoader</a></li>
220
+
221
+ <li><a href="../symbols/JSC3D.Texture.html">JSC3D.Texture</a></li>
222
+
223
+ <li><a href="../symbols/JSC3D.Viewer.html">JSC3D.Viewer</a></li>
224
+
225
+ </ul>
226
+ <hr />
227
+ <!-- end publish.classesIndex -->
228
+ </div>
229
+
230
+ <div id="content">
231
+ <!-- ============================== class title ============================ -->
232
+ <h1 class="classTitle">
233
+
234
+ Class JSC3D.Mesh
235
+ </h1>
236
+
237
+ <!-- ============================== class summary ========================== -->
238
+ <p class="description">
239
+
240
+
241
+ Mesh
242
+
243
+ This class implements mesh that is used as an expression of 3D object and the basic primitive for rendering. <br />
244
+ A mesh basically consists of a sequence of faces, and optioanlly a material, a texture mapping and other attributes and metadata.<br />
245
+ A face consists of 3 or more coplanary vertex that should be descript in counter-clockwise order.<br />
246
+ A texture mapping includes a valid texture object with a sequence of texture coordinats specified per vertex.<br />
247
+
248
+
249
+ <br /><i>Defined in: </i> <a href="../symbols/src/jsc3d.js.html">jsc3d.js</a>.
250
+
251
+ </p>
252
+
253
+ <!-- ============================== constructor summary ==================== -->
254
+
255
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class JSC3D.Mesh.">
256
+ <caption>Class Summary</caption>
257
+ <thead>
258
+ <tr>
259
+ <th scope="col">Constructor Attributes</th>
260
+ <th scope="col">Constructor Name and Description</th>
261
+ </tr>
262
+ </thead>
263
+ <tbody>
264
+ <tr>
265
+ <td class="attributes">&nbsp;</td>
266
+ <td class="nameDescription" >
267
+ <div class="fixedFont">
268
+ <b><a href="../symbols/JSC3D.Mesh.html">JSC3D.Mesh</a></b>(name, visible, material, texture, isDoubleSided, isEnvironmentCast, coordBuffer, indexBuffer, texCoordBuffer, texCoordIndexBuffer)
269
+ </div>
270
+ <div class="description"></div>
271
+ </td>
272
+ </tr>
273
+ </tbody>
274
+ </table>
275
+
276
+
277
+ <!-- ============================== properties summary ===================== -->
278
+
279
+
280
+ <!-- ============================== methods summary ======================== -->
281
+
282
+
283
+
284
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class JSC3D.Mesh.">
285
+ <caption>Method Summary</caption>
286
+ <thead>
287
+ <tr>
288
+ <th scope="col">Method Attributes</th>
289
+ <th scope="col">Method Name and Description</th>
290
+ </tr>
291
+ </thead>
292
+ <tbody>
293
+
294
+ <tr>
295
+ <td class="attributes">&nbsp;</td>
296
+ <td class="nameDescription">
297
+ <div class="fixedFont"><b><a href="../symbols/JSC3D.Mesh.html#hasTexture">hasTexture</a></b>()
298
+ </div>
299
+ <div class="description">See if the mesh has valid texture mapping.</div>
300
+ </td>
301
+ </tr>
302
+
303
+ <tr>
304
+ <td class="attributes">&nbsp;</td>
305
+ <td class="nameDescription">
306
+ <div class="fixedFont"><b><a href="../symbols/JSC3D.Mesh.html#init">init</a></b>()
307
+ </div>
308
+ <div class="description">Initialize the mesh.</div>
309
+ </td>
310
+ </tr>
311
+
312
+ <tr>
313
+ <td class="attributes">&nbsp;</td>
314
+ <td class="nameDescription">
315
+ <div class="fixedFont"><b><a href="../symbols/JSC3D.Mesh.html#isTrivial">isTrivial</a></b>()
316
+ </div>
317
+ <div class="description">See if the mesh is a trivial mesh.</div>
318
+ </td>
319
+ </tr>
320
+
321
+ <tr>
322
+ <td class="attributes">&nbsp;</td>
323
+ <td class="nameDescription">
324
+ <div class="fixedFont"><b><a href="../symbols/JSC3D.Mesh.html#setMaterial">setMaterial</a></b>(material)
325
+ </div>
326
+ <div class="description">Set material for the mesh.</div>
327
+ </td>
328
+ </tr>
329
+
330
+ <tr>
331
+ <td class="attributes">&nbsp;</td>
332
+ <td class="nameDescription">
333
+ <div class="fixedFont"><b><a href="../symbols/JSC3D.Mesh.html#setTexture">setTexture</a></b>(texture)
334
+ </div>
335
+ <div class="description">Set texture for the mesh.</div>
336
+ </td>
337
+ </tr>
338
+
339
+ </tbody>
340
+ </table>
341
+
342
+
343
+
344
+
345
+ <!-- ============================== events summary ======================== -->
346
+
347
+
348
+ <!-- ============================== constructor details ==================== -->
349
+
350
+ <div class="details"><a name="constructor"> </a>
351
+ <div class="sectionTitle">
352
+ Class Detail
353
+ </div>
354
+
355
+ <div class="fixedFont">
356
+ <b>JSC3D.Mesh</b>(name, visible, material, texture, isDoubleSided, isEnvironmentCast, coordBuffer, indexBuffer, texCoordBuffer, texCoordIndexBuffer)
357
+ </div>
358
+
359
+ <div class="description">
360
+
361
+
362
+ </div>
363
+
364
+
365
+
366
+
367
+
368
+ <dl class="detailList">
369
+ <dt class="heading">Parameters:</dt>
370
+
371
+ <dt>
372
+ <b>name</b>
373
+
374
+ </dt>
375
+ <dd></dd>
376
+
377
+ <dt>
378
+ <b>visible</b>
379
+
380
+ </dt>
381
+ <dd></dd>
382
+
383
+ <dt>
384
+ <b>material</b>
385
+
386
+ </dt>
387
+ <dd></dd>
388
+
389
+ <dt>
390
+ <b>texture</b>
391
+
392
+ </dt>
393
+ <dd></dd>
394
+
395
+ <dt>
396
+ <b>isDoubleSided</b>
397
+
398
+ </dt>
399
+ <dd></dd>
400
+
401
+ <dt>
402
+ <b>isEnvironmentCast</b>
403
+
404
+ </dt>
405
+ <dd></dd>
406
+
407
+ <dt>
408
+ <b>coordBuffer</b>
409
+
410
+ </dt>
411
+ <dd></dd>
412
+
413
+ <dt>
414
+ <b>indexBuffer</b>
415
+
416
+ </dt>
417
+ <dd></dd>
418
+
419
+ <dt>
420
+ <b>texCoordBuffer</b>
421
+
422
+ </dt>
423
+ <dd></dd>
424
+
425
+ <dt>
426
+ <b>texCoordIndexBuffer</b>
427
+
428
+ </dt>
429
+ <dd></dd>
430
+
431
+ </dl>
432
+
433
+
434
+
435
+
436
+
437
+
438
+
439
+
440
+ </div>
441
+
442
+
443
+ <!-- ============================== field details ========================== -->
444
+
445
+
446
+ <!-- ============================== method details ========================= -->
447
+
448
+ <div class="sectionTitle">
449
+ Method Detail
450
+ </div>
451
+
452
+ <a name="hasTexture"> </a>
453
+ <div class="fixedFont">
454
+
455
+ <span class="light">{Boolean}</span>
456
+ <b>hasTexture</b>()
457
+
458
+ </div>
459
+ <div class="description">
460
+ See if the mesh has valid texture mapping.
461
+
462
+
463
+ </div>
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+ <dl class="detailList">
473
+ <dt class="heading">Returns:</dt>
474
+
475
+ <dd><span class="light fixedFont">{Boolean}</span> true if it has valid texture mapping; false if not.</dd>
476
+
477
+ </dl>
478
+
479
+
480
+
481
+
482
+ <hr />
483
+
484
+ <a name="init"> </a>
485
+ <div class="fixedFont">
486
+
487
+
488
+ <b>init</b>()
489
+
490
+ </div>
491
+ <div class="description">
492
+ Initialize the mesh.
493
+
494
+
495
+ </div>
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ <hr />
508
+
509
+ <a name="isTrivial"> </a>
510
+ <div class="fixedFont">
511
+
512
+ <span class="light">{Boolean}</span>
513
+ <b>isTrivial</b>()
514
+
515
+ </div>
516
+ <div class="description">
517
+ See if the mesh is a trivial mesh. A trivial mesh should be omited in any calculations and rendering.
518
+
519
+
520
+ </div>
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+ <dl class="detailList">
530
+ <dt class="heading">Returns:</dt>
531
+
532
+ <dd><span class="light fixedFont">{Boolean}</span> true if it is trivial; false if not.</dd>
533
+
534
+ </dl>
535
+
536
+
537
+
538
+
539
+ <hr />
540
+
541
+ <a name="setMaterial"> </a>
542
+ <div class="fixedFont">
543
+
544
+
545
+ <b>setMaterial</b>(material)
546
+
547
+ </div>
548
+ <div class="description">
549
+ Set material for the mesh.
550
+
551
+
552
+ </div>
553
+
554
+
555
+
556
+
557
+ <dl class="detailList">
558
+ <dt class="heading">Parameters:</dt>
559
+
560
+ <dt>
561
+ <span class="light fixedFont">{<a href="../symbols/JSC3D.Material.html">JSC3D.Material</a>}</span> <b>material</b>
562
+
563
+ </dt>
564
+ <dd>the material object.</dd>
565
+
566
+ </dl>
567
+
568
+
569
+
570
+
571
+
572
+
573
+
574
+
575
+ <hr />
576
+
577
+ <a name="setTexture"> </a>
578
+ <div class="fixedFont">
579
+
580
+
581
+ <b>setTexture</b>(texture)
582
+
583
+ </div>
584
+ <div class="description">
585
+ Set texture for the mesh.
586
+
587
+
588
+ </div>
589
+
590
+
591
+
592
+
593
+ <dl class="detailList">
594
+ <dt class="heading">Parameters:</dt>
595
+
596
+ <dt>
597
+ <span class="light fixedFont">{<a href="../symbols/JSC3D.Texture.html">JSC3D.Texture</a>}</span> <b>texture</b>
598
+
599
+ </dt>
600
+ <dd>the texture object.</dd>
601
+
602
+ </dl>
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+ <!-- ============================== event details ========================= -->
616
+
617
+
618
+ <hr />
619
+ </div>
620
+
621
+
622
+ <!-- ============================== footer ================================= -->
623
+ <div class="fineprint" style="clear:both">
624
+
625
+ Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Oct 13 2012 19:21:53 GMT+0800 (CST)
626
+ </div>
627
+ </body>
628
+ </html>