RonYanDaik
RonYanDaik
Maybe Struct _Point_ could be moved to public field and then exposed?
The goal is to convert and use all classes/code, except rendering, to c++ and create then rendering/controling wrappers. So I've followed these steps for now (if anyone wants to follow):...
Ok. Then i need to convert to c++ first. @Zireael07 if you've converted to JS may be you've seen these errors? ``` Source/com/watabou/geom/Polygon.hx:25: characters 12-16 : Unknown identifier : last...
Yep. looks like it: https://github.com/watabou/TownGeneratorOS/pull/12/files now only these 2 have left ``` Source/com/watabou/towngenerator/wards/Ward.hx:96: characters 81-99 : Float should be Int Source/com/watabou/towngenerator/wards/Ward.hx:96: characters 81-99 : For function argument 'x' ``` And...
` Source/com/watabou/towngenerator/Main.hx:11: lines 11-33 : Invalid -main : com.watabou.towngenerator.Main does not have static function main `
I did some more testing and found out that the crash happens depending from number of static bodies (or fixtures) in the scene. Crash happens:  crash does not happen:...
Apparently problem is here:  **m_rootStatic** members ore not valid (not null but also not a value). Thats why **(root->IsLeaf())** gives false May be it got somewhere deleted and not...
I've got new exception. this time it tries to access right member which is invalid. 
> Do you have code that can help me reproduce that? I can have a look. I think I've managed to reproduce it in Tiles test. this is the code...
Maybe I'm onto something here? Looks like `oldNodes` points to `m_rootStatic` and here its being freed with` b2Free(oldNodes)`. And from here on `m_rootStatic` has invalid values. 