Skip to content

Commit 4e825a9

Browse files
committed
Remove deprecated from classes
Also change use of setClearColorHex to setClearColor.
1 parent b152cf6 commit 4e825a9

10 files changed

Lines changed: 7 additions & 141 deletions

docs/api/core/Object3D.html

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -139,15 +139,6 @@ <h3>.applyMatrix( [page:Matrix4 matrix])</h3>
139139
This updates the position, rotation and scale with the matrix.
140140
</div>
141141

142-
<h3>.translate( [page:Float distance], [page:Vector3 axis] )</h3>
143-
<div>
144-
distance - Distance.<br />
145-
axis - Translation direction.
146-
</div>
147-
<div>
148-
Translates object along arbitrary *axis* by *distance*.
149-
</div>
150-
151142
<h3>.translateX( [page:Float distance] )</h3>
152143
<div>
153144
distance - Distance.<br />
@@ -220,15 +211,6 @@ <h3>.traverse( [page:Function callback] )</h3>
220211
Executes the callback on this object and all descendants.
221212
</div>
222213

223-
<h3>.getChildByName( [page:String name], [page:Boolean recursive] )</h3>
224-
<div>
225-
name - Object name.<br />
226-
recursive - Whether check in the objects's children.
227-
</div>
228-
<div>
229-
Gets first child with name matching the argument. Searches whole subgraph recursively if *recursive* is true.
230-
</div>
231-
232214
<h3>.getDescendants( [page:Array array] )</h3>
233215
<div>
234216
array - optional argument that returns the the array with descendants.<br />

docs/api/math/Matrix3.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ <h3>.multiplyScalar([page:todo s]) [page:todo]</h3>
6767
todo
6868
</div>
6969

70-
<h3>.multiplyVector3([page:todo vector]) [page:todo]</h3>
71-
<div>
72-
vector -- todo
73-
</div>
74-
<div>
75-
todo
76-
</div>
77-
7870
<h3>.multiplyVector3Array([page:todo a]) [page:todo]</h3>
7971
<div>
8072
a -- todo

docs/api/math/Matrix4.html

Lines changed: 0 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,6 @@ <h3>.multiplyScalar( [page:Float s] ) [page:Matrix4]</h3>
9999
Multiplies this matrix by *s*.
100100
</div>
101101

102-
<h3>.multiplyVector3( [page:Vector3 v] ) [page:Vector3]</h3>
103-
<div>
104-
Applies this matrix to *v*.
105-
</div>
106-
107-
<h3>.multiplyVector4( [page:Vector4 v] ) [page:Vector4]</h3>
108-
<div>
109-
Applies this matrix to *v*.
110-
</div>
111-
112102
<h3>.determinant() [page:Float]</h3>
113103
<div>
114104
Computes determinant of this matrix.<br />
@@ -135,12 +125,6 @@ <h3>.setPosition( [page:Vector3 v] ) [page:Matrix4]</h3>
135125
Sets the position component for this matrix from vector *v*.
136126
</div>
137127

138-
<h3>.getPosition() [page:Vector3]</h3>
139-
<div>
140-
Returns position component from this matrix.<br />
141-
Note: this method returns a reference to the internal class vector, make a copy or clone it if you don't use it right away.
142-
</div>
143-
144128
<h3>.getInverse( [page:Matrix4 m] ) [page:Matrix4]</h3>
145129
<div>
146130
Sets this matrix to the inverse of matrix *m*.<br />
@@ -247,90 +231,6 @@ <h3>.clone() [page:Matrix4]</h3>
247231
Clones this matrix.
248232
</div>
249233

250-
<h3>.compose([page:todo position], [page:todo quaternion], [page:todo scale]) [page:todo]</h3>
251-
<div>
252-
position -- todo <br />
253-
quaternion -- todo <br />
254-
scale -- todo
255-
</div>
256-
<div>
257-
todo
258-
</div>
259-
260-
<h3>.rotateAxis([page:todo v]) [page:todo]</h3>
261-
<div>
262-
v -- todo
263-
</div>
264-
<div>
265-
todo
266-
</div>
267-
268-
<h3>.setRotationFromEuler([page:todo v], [page:todo order]) [page:todo]</h3>
269-
<div>
270-
v -- todo <br />
271-
order -- todo
272-
</div>
273-
<div>
274-
todo
275-
</div>
276-
277-
<h3>.crossVector([page:todo vector]) [page:todo]</h3>
278-
<div>
279-
vector -- todo
280-
</div>
281-
<div>
282-
todo
283-
</div>
284-
285-
<h3>.rotateByAxis([page:todo axis], [page:todo angle]) [page:todo]</h3>
286-
<div>
287-
axis -- todo <br />
288-
angle -- todo
289-
</div>
290-
<div>
291-
todo
292-
</div>
293-
294-
<h3>.setRotationFromQuaternion([page:todo q]) [page:todo]</h3>
295-
<div>
296-
q -- todo
297-
</div>
298-
<div>
299-
todo
300-
</div>
301-
302-
<h3>.extractPosition([page:todo m]) [page:todo]</h3>
303-
<div>
304-
m -- todo
305-
</div>
306-
<div>
307-
todo
308-
</div>
309-
310-
<h3>.rotateX([page:todo angle]) [page:todo]</h3>
311-
<div>
312-
angle -- todo
313-
</div>
314-
<div>
315-
todo
316-
</div>
317-
318-
<h3>.rotateY([page:todo angle]) [page:todo]</h3>
319-
<div>
320-
angle -- todo
321-
</div>
322-
<div>
323-
todo
324-
</div>
325-
326-
<h3>.rotateZ([page:todo angle]) [page:todo]</h3>
327-
<div>
328-
angle -- todo
329-
</div>
330-
<div>
331-
todo
332-
</div>
333-
334234
<h3>.multiplyVector3Array([page:todo a]) [page:todo]</h3>
335235
<div>
336236
a -- todo
@@ -344,14 +244,6 @@ <h3>.getMaxScaleOnAxis() [page:todo]</h3>
344244
todo
345245
</div>
346246

347-
<h3>.translate([page:todo v]) [page:todo]</h3>
348-
<div>
349-
v -- todo
350-
</div>
351-
<div>
352-
todo
353-
</div>
354-
355247
<h2>Source</h2>
356248

357249
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

examples/canvas_particles_sprites.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
renderer = new THREE.CanvasRenderer();
6060
renderer.setSize( window.innerWidth, window.innerHeight );
6161
renderer.sortElements = false;
62-
renderer.setClearColorHex( 0x0000ff, 0.25 );
62+
renderer.setClearColor( 0x0000ff, 0.25 );
6363
container.appendChild( renderer.domElement );
6464

6565
stats = new Stats();

examples/webgl_loader_vtk.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
// renderer
101101

102102
renderer = new THREE.WebGLRenderer( { antialias: false } );
103-
renderer.setClearColorHex( 0x000000, 1 );
103+
renderer.setClearColor( 0x000000, 1 );
104104
renderer.setSize( window.innerWidth, window.innerHeight );
105105

106106
container = document.createElement( 'div' );

examples/webgl_materials_skin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159
renderer = new THREE.WebGLRenderer( { antialias: false } );
160160
renderer.setSize( window.innerWidth, window.innerHeight );
161-
renderer.setClearColorHex( 0x050505, 1 );
161+
renderer.setClearColor( 0x050505, 1 );
162162
renderer.autoClear = false;
163163

164164
container.appendChild( renderer.domElement );

examples/webgl_particles_shapes.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@
490490

491491
renderer = new THREE.WebGLRenderer();
492492
renderer.setSize( window.innerWidth, window.innerHeight );
493-
renderer.setClearColorHex( 0x000000, 1 );
493+
renderer.setClearColor( 0x000000, 1 );
494494

495495
container.appendChild( renderer.domElement );
496496

examples/webgl_postprocessing_advanced.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137

138138
renderer = new THREE.WebGLRenderer( { antialias: false } );
139139
renderer.setSize( width, height );
140-
renderer.setClearColorHex( 0x000000, 1 );
140+
renderer.setClearColor( 0x000000, 1 );
141141
renderer.autoClear = false;
142142

143143
//

examples/webgl_postprocessing_godrays.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
renderer.sortObjects = false;
136136

137137
renderer.autoClear = false;
138-
renderer.setClearColorHex( bgColor, 1 );
138+
renderer.setClearColor( bgColor, 1 );
139139

140140
renderer.domElement.style.position = 'absolute';
141141
renderer.domElement.style.top = margin + "px";

examples/webgl_sprites.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
// renderer
128128

129129
renderer = new THREE.WebGLRenderer();
130-
renderer.setClearColorHex( 0x000000, 1 );
130+
renderer.setClearColor( 0x000000, 1 );
131131
renderer.setSize( window.innerWidth, window.innerHeight );
132132

133133
container.appendChild( renderer.domElement );

0 commit comments

Comments
 (0)