Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
namespace OpenScadGraphEditor.Nodes
{
public abstract class BinaryComparisonOperator : SwitchableBinaryOperator.SwitchableBinaryOperator
{
protected BinaryComparisonOperator()
{
OutputPorts.Clear();
OutputPorts
.Boolean(allowLiteral: false);
}
protected override PortType CalculateOutputPortType()
{
// all comparison operators always return a boolean
return PortType.Boolean;
}
}
}7192f5216This file is pinned to the selected release. Download the original to open it in your design tool.