Skip to content

Commit dfa1f1e

Browse files
omgitsravendmarcos
authored andcommitted
Correcting docs for various primitive attributes (#2987)
* correct a-box docs width and height attributes * correct a-cone docs and height attribute * correct a-cylinder docs height attribute * correct a-plane docs width and height attributes
1 parent ab4f4d4 commit dfa1f1e

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/primitives/a-box.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The box primitive creates shapes such as boxes, cubes, or walls.
4242
| displacement-texture-repeat | material.displacementTextureRepeat | 1 1 |
4343
| env-map | material.envMap | None |
4444
| fog | material.fog | true |
45-
| height | material.height | 256 |
45+
| height | geometry.height | 1 |
4646
| metalness | material.metalness | 0 |
4747
| normal-map | material.normalMap | None |
4848
| normal-scale | material.normalScale | 1 1 |
@@ -55,6 +55,6 @@ The box primitive creates shapes such as boxes, cubes, or walls.
5555
| segments-width | geometry.segmentsWidth | 1 |
5656
| spherical-env-map | material.sphericalEnvMap | None |
5757
| src | material.src | None |
58-
| width | material.width | 512 |
58+
| width | geometry.width | 1 |
5959
| wireframe | material.wireframe | false |
6060
| wireframe-linewidth | material.wireframeLinewidth | 2 |

docs/primitives/a-cone.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The cone primitive creates a cone shape.
3939
| displacement-texture-repeat | material.displacementTextureRepeat | 1 1 |
4040
| env-map | material.envMap | None |
4141
| fog | material.fog | true |
42-
| height | material.height | 256 |
42+
| height | geometry.height | 1 |
4343
| metalness | material.metalness | 0 |
4444
| normal-map | material.normalMap | None |
4545
| normal-scale | material.normalScale | 1 1 |

docs/primitives/a-cylinder.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The cylinder primitive is versatile and can be used to create different kinds of
4242
| displacement-texture-repeat | material.displacementTextureRepeat | 1 1 |
4343
| env-map | material.envMap | None |
4444
| fog | material.fog | true |
45-
| height | material.height | 256 |
45+
| height | geometry.height | 1 |
4646
| metalness | material.metalness | 0 |
4747
| normal-map | material.normalMap | None |
4848
| normal-scale | material.normalScale | 1 1 |

docs/primitives/a-plane.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ component with the type set to `plane`.
4343
| displacement-texture-repeat | material.displacementTextureRepeat | 1 1 |
4444
| env-map | material.envMap | None |
4545
| fog | material.fog | true |
46-
| height | geometry.height | 256 |
46+
| height | geometry.height | 1 |
4747
| metalness | material.metalness | 0 |
4848
| normal-map | material.normalMap | None |
4949
| normal-scale | material.normalScale | 1 1 |
@@ -55,7 +55,7 @@ component with the type set to `plane`.
5555
| segments-width | geometry.segmentsWidth | 1 |
5656
| spherical-env-map | material.sphericalEnvMap | None |
5757
| src | material.src | None |
58-
| width | geometry.width | 512 |
58+
| width | geometry.width | 1 |
5959
| wireframe | material.wireframe | false |
6060
| wireframe-linewidth | material.wireframeLinewidth | 2 |
6161

0 commit comments

Comments
 (0)