Update Transpiler

Jori 2026-05-10 12:51:45 +00:00
parent 32ec5847df
commit d75f909d4a
1 changed files with 7 additions and 3 deletions

@ -4,8 +4,7 @@ Features
- Convert GDScript Enum Types `Node.ProcessModeEnum` to `Node.ProcessMode`
- Convert GDScript Enum Values `Node.ProcessModeEnum.Disabled` to `Node.PROCESS_MODE_DISABLED`
- Convert Godot.GD functions to global functions `GD.print` to `print`
- Convert Godot.Mathf functions to global functions `Mathf.max` to `max`
- Convert Godot.Mathf XXXtoInt to XXX `Mathf.RoundToInt` to `round`
### **GD Script Injection**
@ -24,9 +23,14 @@ Features
- HashSet<K> => Dictionary[K,true]
### **C# Math**
### **Math**
- float.MaxValue converted to value
- `float.IsInfinity` to `is_inf`
- `float.IsNaN` to `is_nan`
- Converting modulo `a % b` to func `fmod( a, b )`
- Convert Godot.Mathf functions to global functions `Mathf.max` to `max`
- Convert Godot.Mathf XXXtoInt to XXX `Mathf.RoundToInt` to `round`
### **Generics**
- Prepend/append type as parameter for per class, for all methods