提交 28267c45 编写于 作者: M Michael Bond

Reformat as per mrdoob's suggestion

上级 aa981b4c
......@@ -2853,10 +2853,8 @@ THREE.WebGLRenderer = function ( parameters ) {
extension = extensions.get( 'EXT_texture_filter_anisotropic' );
if ( extension ) {
if ( texture.type === THREE.FloatType && !extensions.get( 'OES_texture_float_linear' ) ||
texture.type === THREE.HalfFloatType && !extensions.get( 'OES_texture_half_float_linear' ) ) {
return;
}
if ( texture.type === THREE.FloatType && extensions.get( 'OES_texture_float_linear' ) === null ) return;
if ( texture.type === THREE.HalfFloatType && extensions.get( 'OES_texture_half_float_linear' ) === null ) return;
if ( texture.anisotropy > 1 || properties.get( texture ).__currentAnisotropy ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册