|
|
@@ -149,7 +149,7 @@ class WebGLRenderer {
|
|
|
// public properties
|
|
|
|
|
|
/**
|
|
|
- * A canvas where the renderer draws its output.This is automatically created by the renderer
|
|
|
+ * A canvas where the renderer draws its output. This is automatically created by the renderer
|
|
|
* in the constructor (if not provided already); you just need to add it to your page like so:
|
|
|
* ```js
|
|
|
* document.body.appendChild( renderer.domElement );
|
|
|
@@ -165,7 +165,7 @@ class WebGLRenderer {
|
|
|
* - `checkShaderErrors`: If it is `true`, defines whether material shader programs are
|
|
|
* checked for errors during compilation and linkage process. It may be useful to disable
|
|
|
* this check in production for performance gain. It is strongly recommended to keep these
|
|
|
- * checks enabled during development. If the shader does not compile and link - it will not
|
|
|
+ * checks enabled during development. If the shader does not compile and link, it will not
|
|
|
* work and associated material will not render.
|
|
|
* - `onShaderError(gl, program, glVertexShader,glFragmentShader)`: A callback function that
|
|
|
* can be used for custom error reporting. The callback receives the WebGL context, an instance
|