Update Transpiler
parent
32ec5847df
commit
d75f909d4a
|
|
@ -4,8 +4,7 @@ Features
|
||||||
- Convert GDScript Enum Types `Node.ProcessModeEnum` to `Node.ProcessMode`
|
- Convert GDScript Enum Types `Node.ProcessModeEnum` to `Node.ProcessMode`
|
||||||
- Convert GDScript Enum Values `Node.ProcessModeEnum.Disabled` to `Node.PROCESS_MODE_DISABLED`
|
- 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.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**
|
### **GD Script Injection**
|
||||||
|
|
@ -24,9 +23,14 @@ Features
|
||||||
- HashSet<K> => Dictionary[K,true]
|
- HashSet<K> => Dictionary[K,true]
|
||||||
|
|
||||||
|
|
||||||
### **C# Math**
|
### **Math**
|
||||||
- float.MaxValue converted to value
|
- float.MaxValue converted to value
|
||||||
|
- `float.IsInfinity` to `is_inf`
|
||||||
|
- `float.IsNaN` to `is_nan`
|
||||||
- Converting modulo `a % b` to func `fmod( a, b )`
|
- 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**
|
### **Generics**
|
||||||
- Prepend/append type as parameter for per class, for all methods
|
- Prepend/append type as parameter for per class, for all methods
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue