Skip to content

Commit dbd83d0

Browse files
committed
fixes mrdoob#6955, and second line breaks (for consistency)
1 parent 796357e commit dbd83d0

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

docs/api/math/Vector2.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ <h3>[method:Vector2 clamp]([page:Vector2 min], [page:Vector2 max]) [page:Vector2
152152
max -- [page:Vector2] containing the max x and y values in the desired range
153153
</div>
154154
<div>
155-
If this vector's x or y value is greater than the max vector's x or y value, it is replaced by the corresponding value. <br /> If this vector's x or y value is less than the min vector's x or y value, it is replaced by the corresponding value.
155+
If this vector's x or y value is greater than the max vector's x or y value, it is replaced by the corresponding value. <br /><br />
156+
If this vector's x or y value is less than the min vector's x or y value, it is replaced by the corresponding value.
156157
</div>
157158

158159
<h3>[method:Vector2 clampScalar]([page:Float min], [page:Float max]) [page:Vector2 this]</h3>
@@ -161,7 +162,8 @@ <h3>[method:Vector2 clampScalar]([page:Float min], [page:Float max]) [page:Vecto
161162
max -- [page:Float] the maximum value the components will be clamped to
162163
</div>
163164
<div>
164-
If this vector's x or y values are greater than the max value, they are replaced by the max value. <br /> If this vector's x or y values are less than the min value, they are replaced by the min value.
165+
If this vector's x or y values are greater than the max value, they are replaced by the max value. <br /><br />
166+
If this vector's x or y values are less than the min value, they are replaced by the min value.
165167
</div>
166168

167169
<h3>[method:Vector2 floor]()</h3>
@@ -251,15 +253,15 @@ <h3>[method:Vector2 min]([page:Vector2 v]) [page:Vector2 this]</h3>
251253
v -- [page:Vector2]
252254
</div>
253255
<div>
254-
If this vector's x or y value is less than v's x or y value, replace that value with the corresponding min value.
256+
If this vector's x or y value is greater than v's x or y value, replace that value with the corresponding min value.
255257
</div>
256258

257259
<h3>[method:Vector2 max]([page:Vector2 v]) [page:Vector2 this]</h3>
258260
<div>
259261
v -- [page:Vector2]
260262
</div>
261263
<div>
262-
If this vector's x or y value is greater than v's x or y value, replace that value with the corresponding max value.
264+
If this vector's x or y value is less than v's x or y value, replace that value with the corresponding max value.
263265
</div>
264266

265267
<h3>[method:Vector2 setX]([page:Float x]) [page:Vector2 this]</h3>

docs/api/math/Vector3.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ <h3>[method:Vector3 clampScalar]([page:Float min], [page:Float max]) [page:Vecto
202202
max -- [page:Float] the maximum value the components will be clamped to
203203
</div>
204204
<div>
205-
If this vector's x, y or z values are greater than the max value, they are replaced by the max value. <br /> If this vector's x, y or z values are less than the min value, they are replaced by the min value.
205+
If this vector's x, y or z values are greater than the max value, they are replaced by the max value. <br /><br />
206+
If this vector's x, y or z values are less than the min value, they are replaced by the min value.
206207
</div>
207208

208209
<h3>[method:Vector3 floor]()</h3>
@@ -278,15 +279,15 @@ <h3>[method:Vector3 min]([page:Vector3 v]) [page:Vector3 this]</h3>
278279
v -- [page:Vector3]
279280
</div>
280281
<div>
281-
If this vector's x, y, or z value is less than vector v's x, y, or z value, that value is replaced by the corresponding vector v value.
282+
If this vector's x, y, or z value is greater than vector v's x, y, or z value, that value is replaced by the corresponding vector v value.
282283
</div>
283284

284285
<h3>[method:Vector3 max]([page:Vector3 v]) [page:Vector3 this]</h3>
285286
<div>
286287
v -- [page:Vector3]
287288
</div>
288289
<div>
289-
If this vector's x, y, or z value is greater than vector v's x, y, or z value, that value is replaced by the corresponding vector v value.
290+
If this vector's x, y, or z value is less than vector v's x, y, or z value, that value is replaced by the corresponding vector v value.
290291
</div>
291292

292293
<h3>[method:Vector3 setComponent]([page:Integer index], [page:Float value]) [page:Vector3 this]</h3>

docs/api/math/Vector4.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ <h3>[method:Vector4 clamp]([page:Vector4 min], [page:Vector4 max]) [page:Vector4
137137
</div>
138138
<div>
139139
If this vector's x, y, z, or w value is greater than the max vector's x, y, z, or w value, it is replaced by the corresponding value.<br/><br/>
140-
141-
If this vector's x, y, z, or w value is less than the min vector's x, y, z, or w value, it is replace by the corresponding value.
140+
If this vector's x, y, z, or w value is less than the min vector's x, y, z, or w value, it is replaced by the corresponding value.
142141
</div>
143142

144143
<h3>[method:Vector4 clampScalar]([page:Float min], [page:Float max]) [page:Vector4 this]</h3>
@@ -147,7 +146,7 @@ <h3>[method:Vector4 clampScalar]([page:Float min], [page:Float max]) [page:Vecto
147146
max -- [page:Float] the maximum value the components will be clamped to
148147
</div>
149148
<div>
150-
If this vector's x, y, z or w values are greater than the max value, they are replaced by the max value. <br />
149+
If this vector's x, y, z or w values are greater than the max value, they are replaced by the max value. <br /><br />
151150
If this vector's x, y, z or w values are less than the min value, they are replaced by the min value.
152151
</div>
153152

@@ -184,15 +183,15 @@ <h3>[method:Vector4 min]([page:Vector4 v]) [page:Vector4 this]</h3>
184183
v -- [page:Vector4]
185184
</div>
186185
<div>
187-
If this vector's x, y, z, or w value is less than vector v's x, y, z, or w value, that value is replaced by the corresponding vector v value.
186+
If this vector's x, y, z, or w value is greater than vector v's x, y, z, or w value, that value is replaced by the corresponding vector v value.
188187
</div>
189188

190189
<h3>[method:Vector4 max]([page:Vector4 v]) [page:Vector4 this]</h3>
191190
<div>
192191
v -- [page:Vector4]
193192
</div>
194193
<div>
195-
If this vector's x, y, z, or w value is greater than vector v's x, y, z, or w value, that value is replaced by the corresponding vector v value.
194+
If this vector's x, y, z, or w value is less than vector v's x, y, z, or w value, that value is replaced by the corresponding vector v value.
196195
</div>
197196

198197
<h3>[method:Vector4 addScalar]([page:Float s]) [page:Vector4 this]</h3>

0 commit comments

Comments
 (0)