Skip to content

Commit

Permalink
TSL: display atan second argument (#30287)
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Rigaud <srigaud@duodisplay.com>
  • Loading branch information
s-rigaud and Samuel Rigaud authored Jan 8, 2025
1 parent 3da6550 commit 8f31ce2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nodes/math/MathNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,9 +543,11 @@ export const acos = /*@__PURE__*/ nodeProxy( MathNode, MathNode.ACOS );

/**
* Returns the arc-tangent of the parameter.
* If two parameters are provided, the result is `atan2(y/x)`.
*
* @function
* @param {Node | Number} x - The parameter.
* @param {Node | Number} y - The y parameter.
* @param {(Node | Number)?} x - The x parameter.
* @returns {Node}
*/
export const atan = /*@__PURE__*/ nodeProxy( MathNode, MathNode.ATAN );
Expand Down

0 comments on commit 8f31ce2

Please sign in to comment.