提交 68e6323b 编写于 作者: J Joel

we don't like exclamation points here!

上级 c6415e52
......@@ -72,7 +72,7 @@ function WebGLRenderStates() {
var renderState;
if ( ! renderStates.has( scene ) ) {
if ( renderStates.has( scene ) === false ) {
renderState = new WebGLRenderState();
renderStates.set( scene, new WeakMap() );
......@@ -82,7 +82,7 @@ function WebGLRenderStates() {
} else {
if ( ! renderStates.get( scene ).has( camera ) ) {
if ( renderStates.get( scene ).has( camera ) === false ) {
renderState = new WebGLRenderState();
renderStates.get( scene ).set( camera, renderState );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册