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

Update ConditionalNode.js

Rephrase class description.
Michael Herzog 2 месяцев назад
Родитель
Сommit
48badc167e
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/nodes/math/ConditionalNode.js

+ 3 - 3
src/nodes/math/ConditionalNode.js

@@ -7,12 +7,12 @@ import { warn } from '../../utils.js';
  * Represents a logical `if/else` statement. Can be used as an alternative
  * to the `If()`/`Else()` syntax.
  *
- * The corresponding TSL `select()` looks like so:
+ * The `select()` method is called in a chaining fashion on a condition. The parameter nodes of `select()`
+ * determine the outcome of the entire statement.
+ *
  * ```js
  * velocity = position.greaterThanEqual( limit ).select( velocity.negate(), velocity );
  * ```
- * The `select()` method is called in a chaining fashion on a condition. The parameter nodes of `select()`
- * determine the outcome of the entire statement.
  *
  * @augments Node
  */

粤ICP备19079148号