Bläddra i källkod

Update WebGLRenderer.html

gero3 11 år sedan
förälder
incheckning
9b6e0cb335
1 ändrade filer med 7 tillägg och 2 borttagningar
  1. 7 2
      docs/api/renderers/WebGLRenderer.html

+ 7 - 2
docs/api/renderers/WebGLRenderer.html

@@ -263,7 +263,12 @@
 
 
 		<h3>.initWebGLObjects( [page:Scene scene] )</h3>
-		<div>TODO.</div>
+		<div>
+		[page:Scene scene] -- The scene to initialize.
+		</div>
+		<div>
+		This method initializes the scene. This means adding and removing all objects from the scene and updating them to make sure we have the correct webgl buffers. 
+		</div>
 
 
 		<h3>.initMaterial( [page:Material material], [page:Array lights], [page:Fog fog], [page:Object3D object])</h3>
@@ -274,7 +279,7 @@
 		[page:Object3D object] -- The object of the material that needs init.
 		</div>
 		<div>
-		Used for setting the gl frontFace, cullFace states in the GPU, thus enabling/disabling face culling when rendering.
+		This method initializes the material as a webgl program to be used.
 		</div>
 
 		<h3>.setFaceCulling( cullFace, frontFace )</h3>