Skip to content

Commit 188b9b7

Browse files
committedJan 5, 2015
Examples: Cleaned up setClearColor().
1 parent ec602c1 commit 188b9b7

File tree

58 files changed

+242
-252
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+242
-252
lines changed
 

‎docs/api/renderers/WebGLRenderer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ <h3>[method:null setClearColor]( [page:Color color], [page:Float alpha] )</h3>
184184

185185
<code>// Creates a renderer with red background
186186
var renderer = new THREE.WebGLRenderer();
187-
renderer.setSize(200, 100);
188-
renderer.setClearColor(0xff0000, 1);
187+
renderer.setSize( 200, 100 );
188+
renderer.setClearColor( 0xff0000 );
189189
</code>
190190

191191
<h3>[method:Color getClearColor]()</h3>

0 commit comments

Comments
 (0)
Please sign in to comment.