You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/H3DU.CubeMap.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@
5
5
<aname='H3DU.CubeMap'></a>
6
6
### H3DU.CubeMap(name)
7
7
8
-
TODO: Not documented yet.
8
+
A cube map, or a set of six textures forming the sides of a cube.
9
9
10
10
#### Parameters
11
11
12
-
*`name` (Type: Array.<(String|Texture)>)<br>
13
-
An array of six elements, each of which is a URL of the texture data or the texture object itself. However, this constructor will not load those images yet. The six images are, in order, the image seen when looking toward the positive X axis, the negative X axis, positive Y, negative Y, positive Z, and negative Z.
An array of six elements, each of which is a URL of the texture data or the texture object itself. However, this constructor will not load those images yet. The six texture are, in order, the texture seen when looking toward the positive X axis, the negative X axis, positive Y, negative Y, positive Z, and negative Z.
14
14
15
15
### Methods
16
16
@@ -62,8 +62,8 @@ Sets a texture used by this cube map.
Sets the type of graphics primitives stored in this mesh buffer.
132
132
133
133
#### Parameters
134
134
135
-
*`primType` (Type: *)
135
+
*`primType` (Type: Number)<br>
136
+
The primitive type, either <ahref="H3DU.Mesh.md#H3DU.Mesh.TRIANGLES">H3DU.Mesh.TRIANGLES</a>, <ahref="H3DU.Mesh.md#H3DU.Mesh.LINES">H3DU.Mesh.LINES</a>, or <ahref="H3DU.Mesh.md#H3DU.Mesh.POINTS">H3DU.Mesh.POINTS</a>.
136
137
137
138
#### Return Value
138
139
139
-
Return value. (Type: *)
140
+
This object. (Type: <ahref="H3DU.MeshBuffer.md">H3DU.MeshBuffer</a>)
Copy file name to clipboardExpand all lines: doc/H3DU.TextureLoader.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ to WebGL contexts.
15
15
*[loadAndMapTexture](#H3DU.TextureLoader_H3DU.TextureLoader_loadAndMapTexture)<br>Loads the texture referred to in an array of URLs and
16
16
uploads its texture data to a WebGL context.
17
17
*[loadAndMapTexturesAll](#H3DU.TextureLoader_H3DU.TextureLoader_loadAndMapTexturesAll)<br>Loads one or more textures by their URL and uploads their data to a WebGL context.
18
-
*[loadCubeMap](#H3DU.TextureLoader_H3DU.TextureLoader_loadCubeMap)<br>TODO: Not documented yet.
18
+
*[loadCubeMap](#H3DU.TextureLoader_H3DU.TextureLoader_loadCubeMap)<br>Loads the textures described in a cube map.
19
19
*[loadTexture](#H3DU.TextureLoader_H3DU.TextureLoader_loadTexture)<br>Loads a texture by its URL and stores its data.
20
20
*[loadTexturesAll](#H3DU.TextureLoader_H3DU.TextureLoader_loadTexturesAll)<br>Loads the textures referred to in an array of URLs and
21
21
stores their texture data.
@@ -89,12 +89,12 @@ resolves, each item in the resulting array will be a loaded
Copy file name to clipboardExpand all lines: doc/tutorial-history.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ There are many, many changes to version 2.0.0-beta1 from version 1.5.1. Here are
32
32
- The experimental 2D canvas renderer in _surfaces2d.html_, was abandoned.
33
33
- Added `dispose` method to `H3DU.Scene3D`.
34
34
- Added `createPointedStar` and `createLathe` methods to `H3DU.Meshes`.
35
-
- Added `getBounds` and `toLinePath` methods to H3DU.GraphicsPath, an extra, as well
35
+
- Added `getBounds` and `toLinePath` methods to <ahref="H3DU.GraphicsPath.md">H3DU.GraphicsPath</a>, an extra, as well
36
36
as an extra that adds methods that compute the intersection, difference, union, and XOR of two
37
37
polygons. Path triangulation now supports polygons with holes.
38
38
- The default light configuration is no lights when creating a <ahref="H3DU.LightSource.md">H3DU.LightSource</a>. The exception, for compatibility purposes, is when using a <ahref="H3DU.Scene3D.md">H3DU.Scene3D</a> without rendering a custom `Batch3D`, in which case the default is one light source with its default values.
Copy file name to clipboardExpand all lines: doc/tutorial-overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -394,7 +394,7 @@ Version 2.0.0-beta1:
394
394
- The experimental 2D canvas renderer in _surfaces2d.html_, was abandoned.
395
395
- Added `dispose` method to `H3DU.Scene3D`.
396
396
- Added `createPointedStar` and `createLathe` methods to `H3DU.Meshes`.
397
-
- Added `getBounds` and `toLinePath` methods to H3DU.GraphicsPath, an extra, as well
397
+
- Added `getBounds` and `toLinePath` methods to <ahref="H3DU.GraphicsPath.md">H3DU.GraphicsPath</a>, an extra, as well
398
398
as an extra that adds methods that compute the intersection, difference, union, and XOR of two
399
399
polygons. Path triangulation now supports polygons with holes.
400
400
- The default light configuration is no lights when creating a <ahref="H3DU.LightSource.md">H3DU.LightSource</a>. The exception, for compatibility purposes, is when using a <ahref="H3DU.Scene3D.md">H3DU.Scene3D</a> without rendering a custom `Batch3D`, in which case the default is one light source with its default values.
0 commit comments