Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
7192f5216This file is pinned to the selected release. Download the original to open it in your design tool.
using Godot;
using JetBrains.Annotations;
using OpenScadGraphEditor.Utils;
namespace OpenScadGraphEditor.Nodes
{
[UsedImplicitly]
public class ExponentiationOperator : BinaryOperator
{
public override string NodeTitle => "^";
public override string NodeQuickLookup => "^";
public override string NodeDescription => "Exponentiation of the given inputs (first to the power of second).";
protected override string OperatorSign => "^";
public override Texture NodeBackground => Resources.ExpIcon;
public ExponentiationOperator()
{
InputPorts
.Number()
.Number();
OutputPorts
.Number(allowLiteral: false);
}
}
}