Просмотр исходного кода

FirstPersonControls: Fix deprecated handleResize() message.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Mr.doob 1 месяц назад
Родитель
Сommit
f5d4b94ac5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      examples/jsm/controls/FirstPersonControls.js

+ 2 - 2
examples/jsm/controls/FirstPersonControls.js

@@ -308,11 +308,11 @@ class FirstPersonControls extends Controls {
 	}
 
 	/**
-	 * @deprecated, r184. The controls now handle resize internally.
+	 * @deprecated, r184. This method is no longer needed.
 	 */
 	handleResize() {
 
-		console.warn( 'THREE.FirstPersonControls: handleResize() has been removed. The controls now handle resize internally.' );
+		console.warn( 'THREE.FirstPersonControls: handleResize() has been removed.' );
 
 	}
 

粤ICP备19079148号