/// <summary>
 /// Implements the * operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Vector4Node operator *(Vector4Node left, Vector4Node right)
 {
     return(ExpressionFunctions.Function <Vector4Node>(ExpressionNodeType.Multiply, left, right));
 }
 /// <summary>
 /// Implements the / operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Vector4Node operator /(Vector4Node left, Vector4Node right)
 {
     return(ExpressionFunctions.Function <Vector4Node>(ExpressionNodeType.Divide, left, right));
 }
 /// <summary>
 /// Implements the * operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static QuaternionNode operator *(QuaternionNode left, QuaternionNode right)
 {
     return(ExpressionFunctions.Function <QuaternionNode>(ExpressionNodeType.Multiply, left, right));
 }
 /// <summary>
 /// Implements the / operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static QuaternionNode operator /(QuaternionNode left, QuaternionNode right)
 {
     return(ExpressionFunctions.Function <QuaternionNode>(ExpressionNodeType.Divide, left, right));
 }
Example #5
0
 /// <summary>
 /// Implements the - operator.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>The result of the operator.</returns>
 public static Vector2Node operator -(Vector2Node value)
 {
     return(ExpressionFunctions.Function <Vector2Node>(ExpressionNodeType.Negate, value));
 }
 /// <summary>
 /// Implements the != operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static BooleanNode operator !=(QuaternionNode left, QuaternionNode right)
 {
     return(ExpressionFunctions.Function <BooleanNode>(ExpressionNodeType.NotEquals, left, right));
 }
Example #7
0
 /// <summary>
 /// Implements the + operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static ScalarNode operator +(ScalarNode left, ScalarNode right)
 {
     return(ExpressionFunctions.Function <ScalarNode>(ExpressionNodeType.Add, left, right));
 }
Example #8
0
 /// <summary>
 /// Implements the - operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Matrix3x2Node operator -(Matrix3x2Node left, Matrix3x2Node right)
 {
     return(ExpressionFunctions.Function <Matrix3x2Node>(ExpressionNodeType.Subtract, left, right));
 }
Example #9
0
 /// <summary>
 /// Implements the &lt;= operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static BooleanNode operator <=(ScalarNode left, ScalarNode right)
 {
     return(ExpressionFunctions.Function <BooleanNode>(ExpressionNodeType.LessThanEquals, left, right));
 }
Example #10
0
 /// <summary>
 /// Implements the &gt; operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static BooleanNode operator >(ScalarNode left, ScalarNode right)
 {
     return(ExpressionFunctions.Function <BooleanNode>(ExpressionNodeType.GreaterThan, left, right));
 }
Example #11
0
 /// <summary>
 /// Implements the * operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Matrix4x4Node operator *(ScalarNode left, Matrix4x4Node right)
 {
     return(ExpressionFunctions.Function <Matrix4x4Node>(ExpressionNodeType.Multiply, left, right));
 }
Example #12
0
 /// <summary>
 /// Implements the - operator.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>The result of the operator.</returns>
 public static ScalarNode operator -(ScalarNode value)
 {
     return(ExpressionFunctions.Function <ScalarNode>(ExpressionNodeType.Negate, value));
 }
Example #13
0
 /// <summary>
 /// Implements the - operator.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns>The result of the operator.</returns>
 public static Matrix3x2Node operator -(Matrix3x2Node value)
 {
     return(ExpressionFunctions.Function <Matrix3x2Node>(ExpressionNodeType.Negate, value));
 }
 /// <summary>
 /// Implements the % operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Vector4Node operator %(Vector4Node left, Vector4Node right)
 {
     return(ExpressionFunctions.Function <Vector4Node>(ExpressionNodeType.Modulus, left, right));
 }
Example #15
0
 /// <summary>
 /// Implements the - operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Vector2Node operator -(Vector2Node left, Vector2Node right)
 {
     return(ExpressionFunctions.Function <Vector2Node>(ExpressionNodeType.Subtract, left, right));
 }
 /// <summary>
 /// Implements the == operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static BooleanNode operator ==(Vector4Node left, Vector4Node right)
 {
     return(ExpressionFunctions.Function <BooleanNode>(ExpressionNodeType.Equals, left, right));
 }
Example #17
0
 /// <summary>
 /// Implements the + operator.
 /// </summary>
 /// <param name="left">The left.</param>
 /// <param name="right">The right.</param>
 /// <returns>The result of the operator.</returns>
 public static Matrix4x4Node operator +(Matrix4x4Node left, Matrix4x4Node right)
 {
     return(ExpressionFunctions.Function <Matrix4x4Node>(ExpressionNodeType.Add, left, right));
 }