From 64d880e35297947f2cfc9c9aa2017875a4c32a2d Mon Sep 17 00:00:00 2001 From: Peter Varga Date: Fri, 29 Apr 2022 16:46:15 +0200 Subject: [PATCH] Revert --- .github/CONTRIBUTING.md | 6 ------ docs/api/zh/renderers/WebGLRenderer.html | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index adf1b05be2a825..dc459660746d10 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -30,12 +30,6 @@ This script will start a local server similar to [threejs.org](https://threejs.o The next most important script runs all the appropriate testing. The E-2-E testing is intended to be run by github actions. -Run this command from the root folder to install test dependencies. - - npm install --prefix test - -And run tests. - npm test The linting is there to keep a consistent code style across all of the code and the testing is there to help catch bugs and check that the code behaves as expected. It is important that neither of these steps comes up with any errors due to your changes. diff --git a/docs/api/zh/renderers/WebGLRenderer.html b/docs/api/zh/renderers/WebGLRenderer.html index 4763176458db43..c7624291247718 100644 --- a/docs/api/zh/renderers/WebGLRenderer.html +++ b/docs/api/zh/renderers/WebGLRenderer.html @@ -25,7 +25,7 @@

[name]( [param:Object parameters] )

如果没有传这个参数,会创建一个新canvas
- [page:WebGLRenderingContext context] - 可用于将渲染器附加到已有的渲染环境([link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext])中。默认值是undefined
+ [page:WebGLRenderingContext context] - 可用于将渲染器附加到已有的渲染环境([link:https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext RenderingContext])中。默认值是null
[page:String precision] - 着色器精度. 可以是 *"highp"*, *"mediump"* 或者 *"lowp"*. 如果设备支持,默认为*"highp"* . 点击[link:https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/WebGL_best_practices here] 查看"应该避免的事"