More Decoding

This commit is contained in:
barsdeveloper
2024-11-27 17:59:03 +01:00
parent a02877b9b9
commit bbe92166f0
7 changed files with 220 additions and 23 deletions

View File

@@ -430,23 +430,46 @@ export default function nodeTitle(entity) {
case "Boolean::LogicNEq": return "!="
case "Boolean::LogicNot": return "Logic NOT"
case "Boolean::LogicOr": return "Logic OR"
case "Matrix::MatrixMultiply": return "Multiply (Matrix * Matrix)"
case "Matrix::MatrixVectorMultiply": return "Multiply (Matrix * Vector4)"
case "Numeric::Abs": return "Abs"
case "Numeric::ArcCosine": return "ArcCosine"
case "Numeric::Add": return "+"
case "Numeric::DistancePos": return "Distance"
case "Numeric::Mul": return String.fromCharCode(0x2a2f)
case "Integer::BitLShift": return "Bitwise Left Shift"
case "Integer::BitAnd": return "Bitwise AND"
case "Integer::BitLShift": return "Bitwise Left Shift"
case "Integer::BitNot": return "Bitwise NOT"
case "Integer::BitOr": return "Bitwise OR"
case "Integer::BitRShift": return "Bitwise Right Shift"
case "Integer::BitXOr": return "Bitwise XOR"
case "Matrix::MatrixMultiply": return "Multiply (Matrix * Matrix)"
case "Matrix::MatrixVectorMultiply": return "Multiply (Matrix * Vector4)"
case "Numeric::Abs": return "Abs"
case "Numeric::Add": return "+"
case "Numeric::ArcCosine": return "ArcCosine"
case "Numeric::ArcCosine(Degrees)": return "ArcCos(D)"
case "Numeric::ArcCosine(Radians)": return "ArcCos(R)"
case "Numeric::ArcSine": return "ArcSine"
case "Numeric::ArcSine(Degrees)": return "ArcSin(D)"
case "Numeric::ArcSine(Radians)": return "ArcSin(R)"
case "Numeric::ArcTangent": return "ArcTangent"
case "Numeric::ArcTangent(Degrees)": return "ArcTan(D)"
case "Numeric::ArcTangent(Radians)": return "ArcTan(R)"
case "Numeric::CmpEQ": return "=="
case "Numeric::CmpGE": return ">="
case "Numeric::CmpGT": return ">"
case "Numeric::CmpLE": return "<="
case "Numeric::CmpLT": return "<"
case "Numeric::CmpNEQ": return "!="
case "Numeric::Cosine(Degrees)": return "Cos(D)"
case "Numeric::Cosine(Radians)": return "Cos(R)"
case "Numeric::DegreesToRadians": return "DegToRad"
case "Numeric::DistancePos": return "Distance"
case "Numeric::Div": return String.fromCharCode(0x00f7)
case "Numeric::FMod": return "%"
case "Numeric::FModFast": return "Modulo Fast"
case "Numeric::Length": return "Len"
case "Numeric::Madd": return `(A${String.fromCharCode(0x2a2f)}B)+C`
case "Numeric::Mul": return String.fromCharCode(0x2a2f)
case "Numeric::Negate": return "-A"
// case "Integer::BitOr": return "Bitwise OR"
// case "Integer::BitOr": return "Bitwise OR"
}
return Utility.formatStringName(entity.OpName.toString().replaceAll("::", " "))
return Utility.formatStringName(entity.OpName.toString().replaceAll(/(?:^\w+(?<!^Matrix))?::/g, " "))
}
if (entity.FunctionDisplayName) {
return Utility.formatStringName(entity.FunctionDisplayName.toString())