-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
788c7ee
commit fbbda22
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters