|
|
@@ -345,11 +345,17 @@ MathNode.CEIL = 'ceil';
|
|
|
MathNode.NORMALIZE = 'normalize';
|
|
|
MathNode.FRACT = 'fract';
|
|
|
MathNode.SIN = 'sin';
|
|
|
+MathNode.SINH = 'sinh';
|
|
|
MathNode.COS = 'cos';
|
|
|
+MathNode.COSH = 'cosh';
|
|
|
MathNode.TAN = 'tan';
|
|
|
+MathNode.TANH = 'tanh';
|
|
|
MathNode.ASIN = 'asin';
|
|
|
+MathNode.ASINH = 'asinh';
|
|
|
MathNode.ACOS = 'acos';
|
|
|
+MathNode.ACOSH = 'acosh';
|
|
|
MathNode.ATAN = 'atan';
|
|
|
+MathNode.ATANH = 'atanh';
|
|
|
MathNode.ABS = 'abs';
|
|
|
MathNode.SIGN = 'sign';
|
|
|
MathNode.LENGTH = 'length';
|
|
|
@@ -590,6 +596,16 @@ export const fract = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.FRACT ).s
|
|
|
*/
|
|
|
export const sin = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.SIN ).setParameterLength( 1 );
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the hyperbolic sine of the parameter.
|
|
|
+ *
|
|
|
+ * @tsl
|
|
|
+ * @function
|
|
|
+ * @param {Node | number} x - The parameter.
|
|
|
+ * @returns {Node}
|
|
|
+ */
|
|
|
+export const sinh = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.SINH ).setParameterLength( 1 );
|
|
|
+
|
|
|
/**
|
|
|
* Returns the cosine of the parameter.
|
|
|
*
|
|
|
@@ -600,6 +616,16 @@ export const sin = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.SIN ).setPa
|
|
|
*/
|
|
|
export const cos = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.COS ).setParameterLength( 1 );
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the hyperbolic cosine of the parameter.
|
|
|
+ *
|
|
|
+ * @tsl
|
|
|
+ * @function
|
|
|
+ * @param {Node | number} x - The parameter.
|
|
|
+ * @returns {Node}
|
|
|
+ */
|
|
|
+export const cosh = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.COSH ).setParameterLength( 1 );
|
|
|
+
|
|
|
/**
|
|
|
* Returns the tangent of the parameter.
|
|
|
*
|
|
|
@@ -610,6 +636,16 @@ export const cos = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.COS ).setPa
|
|
|
*/
|
|
|
export const tan = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.TAN ).setParameterLength( 1 );
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the hyperbolic tangent of the parameter.
|
|
|
+ *
|
|
|
+ * @tsl
|
|
|
+ * @function
|
|
|
+ * @param {Node | number} x - The parameter.
|
|
|
+ * @returns {Node}
|
|
|
+ */
|
|
|
+export const tanh = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.TANH ).setParameterLength( 1 );
|
|
|
+
|
|
|
/**
|
|
|
* Returns the arcsine of the parameter.
|
|
|
*
|
|
|
@@ -620,6 +656,16 @@ export const tan = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.TAN ).setPa
|
|
|
*/
|
|
|
export const asin = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ASIN ).setParameterLength( 1 );
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the inverse hyperbolic sine of the parameter.
|
|
|
+ *
|
|
|
+ * @tsl
|
|
|
+ * @function
|
|
|
+ * @param {Node | number} x - The parameter.
|
|
|
+ * @returns {Node}
|
|
|
+ */
|
|
|
+export const asinh = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ASINH ).setParameterLength( 1 );
|
|
|
+
|
|
|
/**
|
|
|
* Returns the arccosine of the parameter.
|
|
|
*
|
|
|
@@ -630,6 +676,16 @@ export const asin = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ASIN ).set
|
|
|
*/
|
|
|
export const acos = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ACOS ).setParameterLength( 1 );
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the inverse hyperbolic cosine of the parameter.
|
|
|
+ *
|
|
|
+ * @tsl
|
|
|
+ * @function
|
|
|
+ * @param {Node | number} x - The parameter.
|
|
|
+ * @returns {Node}
|
|
|
+ */
|
|
|
+export const acosh = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ACOSH ).setParameterLength( 1 );
|
|
|
+
|
|
|
/**
|
|
|
* Returns the arc-tangent of the parameter.
|
|
|
* If two parameters are provided, the result is `atan2(y/x)`.
|
|
|
@@ -642,6 +698,16 @@ export const acos = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ACOS ).set
|
|
|
*/
|
|
|
export const atan = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ATAN ).setParameterLength( 1, 2 );
|
|
|
|
|
|
+/**
|
|
|
+ * Returns the inverse hyperbolic tangent of the parameter.
|
|
|
+ *
|
|
|
+ * @tsl
|
|
|
+ * @function
|
|
|
+ * @param {Node | number} x - The parameter.
|
|
|
+ * @returns {Node}
|
|
|
+ */
|
|
|
+export const atanh = /*@__PURE__*/ nodeProxyIntent( MathNode, MathNode.ATANH ).setParameterLength( 1 );
|
|
|
+
|
|
|
/**
|
|
|
* Returns the absolute value of the parameter.
|
|
|
*
|
|
|
@@ -1087,11 +1153,17 @@ addMethodChaining( 'ceil', ceil );
|
|
|
addMethodChaining( 'normalize', normalize );
|
|
|
addMethodChaining( 'fract', fract );
|
|
|
addMethodChaining( 'sin', sin );
|
|
|
+addMethodChaining( 'sinh', sinh );
|
|
|
addMethodChaining( 'cos', cos );
|
|
|
+addMethodChaining( 'cosh', cosh );
|
|
|
addMethodChaining( 'tan', tan );
|
|
|
+addMethodChaining( 'tanh', tanh );
|
|
|
addMethodChaining( 'asin', asin );
|
|
|
+addMethodChaining( 'asinh', asinh );
|
|
|
addMethodChaining( 'acos', acos );
|
|
|
+addMethodChaining( 'acosh', acosh );
|
|
|
addMethodChaining( 'atan', atan );
|
|
|
+addMethodChaining( 'atanh', atanh );
|
|
|
addMethodChaining( 'abs', abs );
|
|
|
addMethodChaining( 'sign', sign );
|
|
|
addMethodChaining( 'length', length );
|