More decoding

This commit is contained in:
barsdeveloper
2024-11-27 18:31:00 +01:00
parent bbe92166f0
commit 25bb1717df
4 changed files with 66 additions and 4 deletions

31
dist/ueblueprint.js vendored
View File

@@ -4437,6 +4437,20 @@ function nodeTitle(entity) {
case "Numeric::Madd": return `(A${String.fromCharCode(0x2a2f)}B)+C`
case "Numeric::Mul": return String.fromCharCode(0x2a2f)
case "Numeric::Negate": return "-A"
case "Numeric::OneMinus": return "1-A"
case "Numeric::PI": return String.fromCharCode(0x03C0)
case "Numeric::RadiansToDegrees": return "RadToDeg"
case "Numeric::Rand Float": return "Random Float"
case "Numeric::Rand Integer": return "Random Integer"
case "Numeric::Rand": return "Random"
case "Numeric::Rcp": return "Reciprocal"
case "Numeric::RSqrt": return "Rcp Sqrt"
case "Numeric::Sine(Degrees)": return "Sin(D)"
case "Numeric::Sine(Radians)": return "Sin(R)"
case "Numeric::Subtract": return "-"
case "Numeric::Tangent(Degrees)": return "Tan(D)"
case "Numeric::Tangent(Radians)": return "Tan(R)"
case "Numeric::TWO_PI": return `2 ${String.fromCharCode(0x03C0)}`
// case "Integer::BitOr": return "Bitwise OR"
// case "Integer::BitOr": return "Bitwise OR"
}
@@ -9856,6 +9870,23 @@ function nodeTemplateClass(nodeEntity) {
"Numeric::Mul",
"Numeric::Negate",
"Numeric::Normalize",
"Numeric::OneMinus",
"Numeric::PI",
"Numeric::RadiansToDegrees",
"Numeric::Rcp",
"Numeric::RcpFast",
"Numeric::Round",
"Numeric::RSqrt",
"Numeric::Sign",
"Numeric::Sine(Degrees)",
"Numeric::Sine(Radians)",
"Numeric::Sqrt",
"Numeric::Step",
"Numeric::Subtract",
"Numeric::Tangent(Degrees)",
"Numeric::Tangent(Radians)",
"Numeric::Trunc",
"Numeric::TWO_PI",
"Vector3::Cross",
].includes(nodeEntity.OpName?.toString())
) {

File diff suppressed because one or more lines are too long

View File

@@ -135,6 +135,23 @@ export default function nodeTemplateClass(nodeEntity) {
"Numeric::Mul",
"Numeric::Negate",
"Numeric::Normalize",
"Numeric::OneMinus",
"Numeric::PI",
"Numeric::RadiansToDegrees",
"Numeric::Rcp",
"Numeric::RcpFast",
"Numeric::Round",
"Numeric::RSqrt",
"Numeric::Sign",
"Numeric::Sine(Degrees)",
"Numeric::Sine(Radians)",
"Numeric::Sqrt",
"Numeric::Step",
"Numeric::Subtract",
"Numeric::Tangent(Degrees)",
"Numeric::Tangent(Radians)",
"Numeric::Trunc",
"Numeric::TWO_PI",
"Vector3::Cross",
].includes(nodeEntity.OpName?.toString())
) {

View File

@@ -466,6 +466,20 @@ export default function nodeTitle(entity) {
case "Numeric::Madd": return `(A${String.fromCharCode(0x2a2f)}B)+C`
case "Numeric::Mul": return String.fromCharCode(0x2a2f)
case "Numeric::Negate": return "-A"
case "Numeric::OneMinus": return "1-A"
case "Numeric::PI": return String.fromCharCode(0x03C0)
case "Numeric::RadiansToDegrees": return "RadToDeg"
case "Numeric::Rand Float": return "Random Float"
case "Numeric::Rand Integer": return "Random Integer"
case "Numeric::Rand": return "Random"
case "Numeric::Rcp": return "Reciprocal"
case "Numeric::RSqrt": return "Rcp Sqrt"
case "Numeric::Sine(Degrees)": return "Sin(D)"
case "Numeric::Sine(Radians)": return "Sin(R)"
case "Numeric::Subtract": return "-"
case "Numeric::Tangent(Degrees)": return "Tan(D)"
case "Numeric::Tangent(Radians)": return "Tan(R)"
case "Numeric::TWO_PI": return `2 ${String.fromCharCode(0x03C0)}`
// case "Integer::BitOr": return "Bitwise OR"
// case "Integer::BitOr": return "Bitwise OR"
}