|
@@ -0,0 +1,51 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html lang="en">
|
|
|
+ <head>
|
|
|
+ <meta charset="utf-8" />
|
|
|
+ <base href="../" />
|
|
|
+ <script src="list.js"></script>
|
|
|
+ <script src="page.js"></script>
|
|
|
+ <link type="text/css" rel="stylesheet" href="page.css" />
|
|
|
+ </head>
|
|
|
+ <body>
|
|
|
+ <h1>[name]</h1>
|
|
|
+
|
|
|
+ <div class="desc">
|
|
|
+ A class containing utility functions for [page:BufferGeometry BufferGeometry] instances.<br /><br />
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <h2>Methods</h2>
|
|
|
+
|
|
|
+ <h3>[method:null computeTangents]( geometry )</h3>
|
|
|
+ <div>
|
|
|
+ geometry -- A [page:BufferGeometry BufferGeometry] instance, which must have index, position, normal, and uv attributes.<br /><br />
|
|
|
+
|
|
|
+ Calculates and adds tangent attribute to a geometry.<br /><br />
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>[method:BufferGeometry mergeBufferGeometries]( geometries )</h3>
|
|
|
+ <div>
|
|
|
+ geometries -- Array of [page:BufferGeometry BufferGeometry] instances.<br /><br />
|
|
|
+
|
|
|
+ Merges a set of geometries into a single instance. All geometries must have compatible attributes.
|
|
|
+ If merge does not succeed, the method returns null.<br /><br />
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h3>[method:BufferAttribute mergeBufferAttributes]( attributes )</h3>
|
|
|
+ <div>
|
|
|
+ attributes -- Array of [page:BufferAttribute BufferAttribute] instances.<br /><br />
|
|
|
+
|
|
|
+ Merges a set of attributes into a single instance. All attributes must have compatible properties
|
|
|
+ and types, and [page:InterleavedBufferAttribute InterleavedBufferAttributes] are not supported. If merge does not succeed, the method
|
|
|
+ returns null.
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <h2>Source</h2>
|
|
|
+
|
|
|
+ [link:https://github.com/mrdoob/three.js/blob/master/examples/js/BufferGeometryUtils.js examples/js/BufferGeometryUtils.js]
|
|
|
+ </body>
|
|
|
+</html>
|