Skip to content

Commit ea65672

Browse files
committed
change parameters of setAttribute in MeshBuffer; address last TODOs; prepare for beta3; etc.
1 parent 765e995 commit ea65672

35 files changed

+551
-461
lines changed

demos/backgrounds.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* global H3DU */
1+
/* global H3DU, quadBatch */
22
/*
33
Any copyright to this file is released to the Public Domain.
44
http://creativecommons.org/publicdomain/zero/1.0/
@@ -33,11 +33,7 @@ function SunburstBackground(black, white) {
3333
"whiteColor":H3DU.toGLColor(white).slice(0, 3),
3434
"time":0
3535
});
36-
this.batch = new H3DU.Batch3D().addShape(
37-
new H3DU.Shape(
38-
new H3DU.MeshBuffer()
39-
.setAttribute("POSITION", 0, [-1, 1, 0, -1, -1, 0, 1, 1, 0, 1, -1, 0], 0, 3)
40-
.setIndices([0, 1, 2, 2, 1, 3])).setShader(this.shader));
36+
this.batch = quadBatch(this.shader);
4137
this.getBatch = function() {
4238
return this.batch;
4339
};
@@ -70,11 +66,7 @@ function StripesBackground(black, white) {
7066
"whiteColor":H3DU.toGLColor(white).slice(0, 3),
7167
"time":0
7268
});
73-
this.batch = new H3DU.Batch3D().addShape(
74-
new H3DU.Shape(
75-
new H3DU.MeshBuffer()
76-
.setAttribute("POSITION", 0, [-1, 1, 0, -1, -1, 0, 1, 1, 0, 1, -1, 0], 0, 3)
77-
.setIndices([0, 1, 2, 2, 1, 3])).setShader(this.shader));
69+
this.batch = quadBatch(this.shader);
7870
this.getBatch = function() {
7971
return this.batch;
8072
};

demos/bsp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ BspTree._MiniBuilder = function() {
4848
};
4949
this.toMeshBuffer = function() {
5050
return new H3DU.MeshBuffer()
51-
.setAttribute("POSITION", 0, this.vertices, 0, 3)
52-
.setAttribute("NORMAL", 0, this.normals, 0, 3)
51+
.setAttribute("POSITION", this.vertices, 3)
52+
.setAttribute("NORMAL", this.normals, 3)
5353
.setIndices(this.indices);
5454
};
5555
};

demos/shaderlib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ function fragmentShaderLib() {
162162
"}",
163163
""].join("\n");
164164
}
165-
165+
/* exported quadBatch */
166166
function quadBatch(shader) {
167167
"use strict";
168168
// Create a quad to fill the frame buffer
169169
return new H3DU.Batch3D().addShape(
170170
new H3DU.Shape(
171171
new H3DU.MeshBuffer()
172-
.setAttribute("POSITION", 0, [-1, 1, 0, -1, -1, 0, 1, 1, 0, 1, -1, 0], 0, 3)
172+
.setAttribute("POSITION", [-1, 1, 0, -1, -1, 0, 1, 1, 0, 1, -1, 0], 3)
173173
.setIndices([0, 1, 2, 2, 1, 3])).setShader(shader));
174174
}
175175

demos/underlay.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
360 * H3DU.getTimePosition(timer, time, 12000),
6161
0
6262
);
63-
shape.setVisible(false)
6463
shape.setQuaternion(q);
6564
shape.getMaterial().setParams({"emission":[emissive, emissive, emissive]});
6665
// Render the scene

doc/H3DU.BufferAccessor.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
[Back to documentation index.](index.md)
44

55
<a name='H3DU.BufferAccessor'></a>
6-
### H3DU.BufferAccessor(buffer, offset, countPerValue, [stride])
6+
### H3DU.BufferAccessor(buffer, countPerValue, [offset], [stride])
77

88
A <b>vertex attribute object</b>.
99

1010
#### Parameters
1111

1212
* `buffer` (Type: Float32Array)<br>A buffer to store vertex attribute data; see <a href="H3DU.BufferAccessor.md#H3DU.BufferAccessor_buffer">H3DU.BufferAccessor#buffer</a>.
13-
* `offset` (Type: number)<br>Offset to the first value; see <a href="H3DU.BufferAccessor.md#H3DU.BufferAccessor_offset">H3DU.BufferAccessor#offset</a>. Throws an error if less than 0.
1413
* `countPerValue` (Type: number)<br>Number of elements per value; see <a href="H3DU.BufferAccessor.md#H3DU.BufferAccessor_countPerValue">H3DU.BufferAccessor#countPerValue</a>. Throws an error if 0 or less.
14+
* `offset` (Type: number) (optional)<br>Offset to the first value; see <a href="H3DU.BufferAccessor.md#H3DU.BufferAccessor_offset">H3DU.BufferAccessor#offset</a>. If null, undefined, or omitted, the default is 0. Throws an error if less than 0.
1515
* `stride` (Type: number) (optional)<br>Number of elements from the start of one value to the start of the next; see <a href="H3DU.BufferAccessor.md#H3DU.BufferAccessor_stride">H3DU.BufferAccessor#stride</a>. If null, undefined, or omitted, has the same value as "countPerValue". Throws an error if 0 or less.
1616

1717
### Members

doc/H3DU.Mesh.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ or at that point, those methods may be deprecated.</li></ul>
4646
* [BITANGENTS_BIT](#H3DU.Mesh.BITANGENTS_BIT)<br><b>Deprecated: Deprecated because the default shader no longer
4747
uses tangent and bitangent attributes for normal mapping. To define
4848
bitangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
49-
and create a buffer attribute with the H3DU.Semantics.BITANGENT
49+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.BITANGENT">H3DU.Semantic.BITANGENT</a>
5050
semantic.</b>
5151
* [COLORS_BIT](#H3DU.Mesh.COLORS_BIT)<br>The mesh contains colors for each vertex.
5252
* [LINES](#H3DU.Mesh.LINES)<br>Primitive mode for rendering line segments, made up
@@ -64,7 +64,7 @@ of 4 vertices each.
6464
* [TANGENTS_BIT](#H3DU.Mesh.TANGENTS_BIT)<br><b>Deprecated: Deprecated because the default shader no longer
6565
uses tangent and bitangent attributes for normal mapping. To define
6666
tangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
67-
and create a buffer attribute with the H3DU.Semantics.TANGENT
67+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.TANGENT">H3DU.Semantic.TANGENT</a>
6868
semantic.</b>
6969
* [TEXCOORDS_BIT](#H3DU.Mesh.TEXCOORDS_BIT)<br>The mesh contains texture coordinates for each vertex.
7070
* [TRIANGLES](#H3DU.Mesh.TRIANGLES)<br>Primitive mode for rendering triangles, made up
@@ -77,7 +77,7 @@ of 3 vertices each.
7777
* [bitangent3](#H3DU.Mesh_bitangent3)<br><b>Deprecated: Deprecated because the default shader no longer
7878
uses tangent and bitangent attributes for normal mapping. To define
7979
bitangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
80-
and create a buffer attribute with the H3DU.Semantics.BITANGENT
80+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.BITANGENT">H3DU.Semantic.BITANGENT</a>
8181
semantic.</b>
8282
* [color3](#H3DU.Mesh_color3)<br>Sets the current color for this mesh.
8383
* [enumPrimitives](#H3DU.Mesh_enumPrimitives)<br><b>Deprecated: For a replacement of this method,
@@ -108,7 +108,7 @@ given index.
108108
* [tangent3](#H3DU.Mesh_tangent3)<br><b>Deprecated: Deprecated because the default shader no longer
109109
uses tangent and bitangent attributes for normal mapping. To define
110110
tangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
111-
and create a buffer attribute with the H3DU.Semantics.TANGENT
111+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.TANGENT">H3DU.Semantic.TANGENT</a>
112112
semantic.</b>
113113
* [texCoord2](#H3DU.Mesh_texCoord2)<br>Sets the current texture coordinates for this mesh.
114114
* [toMeshBuffer](#H3DU.Mesh_toMeshBuffer)<br>Generates a mesh buffer from the information in this mesh object.
@@ -125,7 +125,7 @@ instead.</b>
125125
<b>Deprecated: Deprecated because the default shader no longer
126126
uses tangent and bitangent attributes for normal mapping. To define
127127
bitangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
128-
and create a buffer attribute with the H3DU.Semantics.BITANGENT
128+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.BITANGENT">H3DU.Semantic.BITANGENT</a>
129129
semantic.</b>
130130

131131
The mesh contains bitangent vectors for each vertex.
@@ -214,7 +214,7 @@ Default Value: `8`
214214
<b>Deprecated: Deprecated because the default shader no longer
215215
uses tangent and bitangent attributes for normal mapping. To define
216216
tangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
217-
and create a buffer attribute with the H3DU.Semantics.TANGENT
217+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.TANGENT">H3DU.Semantic.TANGENT</a>
218218
semantic.</b>
219219

220220
The mesh contains tangent vectors for each vertex.
@@ -264,7 +264,7 @@ Default Value: `5`
264264
<b>Deprecated: Deprecated because the default shader no longer
265265
uses tangent and bitangent attributes for normal mapping. To define
266266
bitangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
267-
and create a buffer attribute with the H3DU.Semantics.BITANGENT
267+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.BITANGENT">H3DU.Semantic.BITANGENT</a>
268268
semantic.</b>
269269

270270
Sets the current bitangent vector for this mesh. Future vertex positions
@@ -388,7 +388,7 @@ will not build upon previous vertices.
388388

389389
#### Parameters
390390

391-
* `other` (Type: <a href="H3DU.Mesh.md">H3DU.Mesh</a>)<br>A mesh to merge into this one. The mesh given in this parameter will remain unchanged. Throws an error if this mesh's primitive type is incompatible with the the other mesh's primitive type (for example, a triangle type with LINE_STRIP).
391+
* `other` (Type: <a href="H3DU.Mesh.md">H3DU.Mesh</a> | <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a>)<br>A mesh to merge into this one. The mesh given in this parameter will remain unchanged. Throws an error if this mesh's primitive type is incompatible with the the other mesh's primitive type (for example, a triangle type with LINE_STRIP). <i>Passing a MeshBuffer to this method is for compatibility only.</i>
392392

393393
#### Return Value
394394

@@ -584,7 +584,7 @@ This object. (Type: <a href="H3DU.Mesh.md">H3DU.Mesh</a>)
584584
<b>Deprecated: Deprecated because the default shader no longer
585585
uses tangent and bitangent attributes for normal mapping. To define
586586
tangent vectors for a mesh, use the <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> class
587-
and create a buffer attribute with the H3DU.Semantics.TANGENT
587+
and create a buffer attribute with the <a href="H3DU.Semantic.md#H3DU.Semantic.TANGENT">H3DU.Semantic.TANGENT</a>
588588
semantic.</b>
589589

590590
Sets the current tangent vector for this mesh. Future vertex positions

doc/H3DU.MeshBuffer.md

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,14 @@ by swapping the second and third vertex indices of each one.
3636
* [setAttribute](#H3DU.MeshBuffer_setAttribute)<br>Adds information about a buffer attribute to this
3737
mesh buffer (or sets an
3838
existing attribute's information).
39+
* [setAttributeEx](#H3DU.MeshBuffer_setAttributeEx)<br>Adds information about a buffer attribute to this
40+
mesh buffer (or sets an
41+
existing attribute's information), taking a semantic index as
42+
an additional parameter.
3943
* [setColor](#H3DU.MeshBuffer_setColor)<br>Sets all the vertices in this mesh to the given color, by
4044
assigning each value with the attribute semantic <code>COLOR</code>
4145
to the given color.
46+
* [setColor3](#H3DU.MeshBuffer_setColor3)<br><b>Deprecated: Use <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setColor">H3DU.MeshBuffer#setColor</a> instead.</b>
4247
* [setIndices](#H3DU.MeshBuffer_setIndices)<br>Sets the vertex indices used by this mesh buffer.
4348
* [setPrimitiveType](#H3DU.MeshBuffer_setPrimitiveType)<br>Sets the type of graphics primitives stored in this mesh buffer.
4449
* [toWireFrame](#H3DU.MeshBuffer_toWireFrame)<br><b>Deprecated: Included here for compatibility with <a href="H3DU.Mesh.md">H3DU.Mesh</a>.
@@ -154,7 +159,7 @@ and the other mesh's indices copied or adapted.
154159

155160
#### Parameters
156161

157-
* `other` (Type: <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a>)<br>A mesh to merge into this one. The mesh given in this parameter will remain unchanged. Throws an error if this mesh's primitive type is not the same as the other mesh's primitive type
162+
* `other` (Type: <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a> | <a href="H3DU.Mesh.md">H3DU.Mesh</a>)<br>A mesh to merge into this one. The mesh given in this parameter will remain unchanged. Throws an error if this mesh's primitive type is not the same as the other mesh's primitive type. <i>Passing a Mesh to this method is for compatibility only and this feature may be dropped in the future.</i>
158163

159164
#### Return Value
160165

@@ -272,7 +277,7 @@ recommended only if face culling is enabled.
272277
);
273278

274279
<a name='H3DU.MeshBuffer_setAttribute'></a>
275-
### H3DU.MeshBuffer#setAttribute(name, index, buffer, startIndex, countPerVertex, [stride])
280+
### H3DU.MeshBuffer#setAttribute(name, buffer, countPerValue, [offset], [stride])
276281

277282
Adds information about a buffer attribute to this
278283
mesh buffer (or sets an
@@ -282,12 +287,35 @@ stored in a vertex buffer.
282287

283288
#### Parameters
284289

290+
* `name` (Type: number | string)<br>An attribute semantic, such as <a href="H3DU.Semantic.md#H3DU.Semantic.POSITION">H3DU.Semantic.POSITION</a>, "POSITION", or "TEXCOORD_0". Throws an error if this value is a string and the string is invalid. If this isn't a string, the set index of the attribute will be 0 (see <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setAttributeEx">H3DU.MeshBuffer#setAttributeEx</a>).
291+
* `buffer` (Type: Float32Array | Array)<br>The buffer where the per-vertex data is stored. See <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setAttributeEx">H3DU.MeshBuffer#setAttributeEx</a>.
292+
* `countPerValue` (Type: number)<br>The number of elements in each per-vertex item. See <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setAttributeEx">H3DU.MeshBuffer#setAttributeEx</a>.
293+
* `offset` (Type: number) (optional)<br>The index into the array (starting from 0) where the first per-vertex item starts.See <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setAttributeEx">H3DU.MeshBuffer#setAttributeEx</a>.
294+
* `stride` (Type: number) (optional)<br>The number of elements from the start of one per-vertex item to the start of the next. See <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setAttributeEx">H3DU.MeshBuffer#setAttributeEx</a>.
295+
296+
#### Return Value
297+
298+
This object.Throws an error if the given
299+
semantic is unsupported. (Type: <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a>)
300+
301+
<a name='H3DU.MeshBuffer_setAttributeEx'></a>
302+
### H3DU.MeshBuffer#setAttributeEx(name, index, buffer, [countPerValue], [offset], [stride])
303+
304+
Adds information about a buffer attribute to this
305+
mesh buffer (or sets an
306+
existing attribute's information), taking a semantic index as
307+
an additional parameter. An attribute
308+
gives information about the per-vertex data used and
309+
stored in a vertex buffer.
310+
311+
#### Parameters
312+
285313
* `name` (Type: number | string)<br>An attribute semantic, such as <a href="H3DU.Semantic.md#H3DU.Semantic.POSITION">H3DU.Semantic.POSITION</a>, "POSITION", or "TEXCOORD_0". Throws an error if this value is a string and the string is invalid.
286-
* `index` (Type: number)<br>The set index of the attribute for the given semantic. 0 is the first index of the attribute, 1 is the second, and so on. This is ignored if "name" is a string.
287-
* `buffer` (Type: Float32Array | Array)<br>The buffer where the per-vertex data is stored.
288-
* `startIndex` (Type: number)<br>The index into the array (starting from 0) where the first per-vertex item starts.
289-
* `countPerVertex` (Type: number)<br>The number of elements in each per-vertex item. For example, if each vertex is a 3-element vector, this value is 3. Throws an error if this value is 0 or less.
290-
* `stride` (Type: number) (optional)<br>The number of elements from the start of one per-vertex item to the start of the next. If null, undefined, or omitted, this value is the same as "countPerVertex". Throws an error if this value is 0 or less.
314+
* `index` (Type: number)<br>The semantic index of the attribute for the given semantic. 0 is the first index of the attribute, 1 is the second, and so on. This is ignored if "name" is a string.
315+
* `buffer` (Type: Float32Array | Array | BufferAccessor)<br>The buffer where the per-vertex data is stored.
316+
* `countPerValue` (Type: number) (optional)<br>The number of elements in each per-vertex item. For example, if each vertex is a 3-element vector, this value is 3. Throws an error if this value is 0 or less. If "buffer" is a <a href="H3DU.BufferAccessor.md">H3DU.BufferAccessor</a>, the value of "countPerValue" is taken from that accessor and this parameter is ignored; this parameter is currently required otherwise.
317+
* `offset` (Type: number) (optional)<br>The index into the array (starting from 0) where the first per-vertex item starts. If null, undefined, or omitted, the default is 0. Throws an error if less than 0. If "buffer" is a <a href="H3DU.BufferAccessor.md">H3DU.BufferAccessor</a>, the value of "offset" is taken from that accessor and this parameter is ignored.
318+
* `stride` (Type: number) (optional)<br>The number of elements from the start of one per-vertex item to the start of the next. If null, undefined, or omitted, this value is the same as "countPerValue". Throws an error if this value is 0 or less. If "buffer" is a <a href="H3DU.BufferAccessor.md">H3DU.BufferAccessor</a>, the value of "stride" is taken from that accessor and this parameter is ignored.
291319

292320
#### Return Value
293321

@@ -316,6 +344,14 @@ regardless of semantic index, are affected by this method.
316344

317345
This object. (Type: <a href="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a>)
318346

347+
<a name='H3DU.MeshBuffer_setColor3'></a>
348+
### H3DU.MeshBuffer#setColor3()
349+
350+
<b>Deprecated: Use <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setColor">H3DU.MeshBuffer#setColor</a> instead.</b>
351+
352+
Alias for the <a href="H3DU.MeshBuffer.md#H3DU.MeshBuffer_setColor">H3DU.MeshBuffer#setColor</a> method
353+
for compatibility.
354+
319355
<a name='H3DU.MeshBuffer_setIndices'></a>
320356
### H3DU.MeshBuffer#setIndices(indices)
321357

doc/tutorial-history.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,39 @@
55
<a id=Version_History></a>
66
## Version History
77

8+
Version 2.0.0-beta3:
9+
10+
The changes in beta 3 from beta 2 include:
11+
12+
- The main library files were converted to ECMAScript's import/export convention. The `rollup` tool
13+
is used to help generate the `h3du_min.js` file.
14+
- HTML documentation included in distribution.
15+
- "Norm" methods in H3DU.Math were renamed to use "Normalize" instead.
16+
- New `convex.js` in extras folder generates the convex hull of a set of points.
17+
- New `interp.js` in extras folder provides a cubic B&eacute;zier interpolation function.
18+
- New `spline.js` in extras folder generates piecewise interpolating curves.
19+
- New demos added, including demos showing how to generate procedural content using shaders.
20+
- Several methods in H3DU.GraphicsPath were reimplemented.
21+
- H3DU.BezierCurve and H3DU.BezierSpline are deprecated.
22+
- H3DU.CurveBuilder and H3DU.SurfaceBuilder classes were created; they replace now-deprecated
23+
H3DU.CurveEval and H3DU.SurfaceEval classes.
24+
- H3DU.MeshBuffer contains many new methods; in exchange, many of the H3DU.Mesh
25+
methods reimplemented in H3DU.MeshBuffer are deprecated.
26+
- H3DU.Mesh is considerably deemphasized in this version; that class should only be used
27+
for building meshes, not storing them.
28+
- H3DU.Curve and H3DU.Surface were created; these classes represent parametric curves
29+
and surfaces and offer methods for querying information at a given point on the curve or surface.
30+
Made several class derive from either class, including H3DU.BSplineCurve, H3DU.BSplineSurface,
31+
and new class H3DU.PiecewiseCurve.
32+
- H3DU.RenderPass3D renamed to H3DU.RenderPass.
33+
- Deleted fromBasic and fromBasicTexture methods from H3DU.PbrMaterial.
34+
- Added JOINTS and WEIGHTS constants to H3DU.Semantic.
35+
- Preliminary support for occlusion maps.
36+
- Default diffuse/albedo in Material and PbrMaterial is now (1,1,1,1).
37+
- New H3DU.BufferAccessor class represents a single vertex buffer.
38+
- Many methods outside H3DU.Mesh now return H3DU.MeshBuffer instead of H3DU.Mesh.
39+
- Bug fixes.
40+
841
Version 2.0.0-beta2:
942

1043
The changes in beta 2 from beta 1 include:

doc/tutorial-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The library differs from many others because this one is in the public domain, s
1313

1414
This page includes information on how to use the HTML 3D library, an overview of its features, and an example of a simple 3D-enabled Web page.
1515

16-
NOTE: This section and the rest of this page will largely discuss the 2.0.0-beta2 version of the HTML 3D library, which differs considerably from the current release (version 1.5.1) of the library. (See the section "History" for more information.)
16+
NOTE: This section and the rest of this page will largely discuss the 2.0.0-beta3 version of the HTML 3D library, which differs considerably from the current release (version 1.5.1) of the library. (See the section "History" for more information.)
1717

1818
<a id=Example></a>
1919
## Example

doc/tutorial-shapes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This page will discuss:
2020
* Binding mesh buffers to shapes
2121
* Shape groups, or combinations of several shapes
2222

23-
NOTE: This page will largely discuss the 2.0.0-beta1 version of the HTML 3D library, which differs considerably from the current release (version 1.5.1) of the library. (See the library's <a href="tutorial-history.md">change history</a> for more information.)
23+
NOTE: This page will largely discuss the 2.0.0-beta3 version of the HTML 3D library, which differs considerably from the current release (version 1.5.1) of the library. (See the library's <a href="tutorial-history.md">change history</a> for more information.)
2424

2525
<a id=Contents></a>
2626
## Contents

0 commit comments

Comments
 (0)