Nazariglez / Gecko2D

Cross-platform Game Framework
https://nazariglez.github.io/Gecko2D
MIT License
50 stars 6 forks source link

Use haxe Float not kha.FastFloat for the engine code, FastFloat is just for graphics code #77

Closed Nazariglez closed 6 years ago

Nazariglez commented 6 years ago

Use FastFloat for everything may cause troubles between platforms, because js only has f64, and native uses f32. So, it's better use float for everything and fastfloat for graphics to avoid this issues between prototypes in js and native platforms

(@RobDangerous the creator of kha, said this in the haxe summit 2018).