Mathias Westerdahl

Results 224 comments of Mathias Westerdahl

Well, check the link I posted. (And no, it's not the reason why his site is down) > The question is that I want to check performance when input is...

Yeah, it's a good idea to mention it in the readme. Do you happen to have any links to other implementations that use BST's? I'd enjoy having it both for...

To be honest, I wouldn't put this directly inside the main header file. Instead, I'd create a helper file (e.g `jc_voronoi_util.h` or similar) and then create some helper functions there...

Depending on how complex your geometry is, one way to do it could be to first split your concave polygon into a list of convex polygons. Then you can use...

This will be fixed in the upcoming release for Defold 1.4.3 (available for testing using the `jni-refactor` branch)

We need a design for this though, as we're not certain what future physics engines look like. Ideally, it would not exist in out `dmPhysics` api at all, but at...

Are you talking about the next "start" position, or the position for an active voice? (Remember you can play a sound multiple time, and each will spawn a voice)

Looking at the code, it's the final area calculation that becomes too small: https://github.com/defold/defold/blob/dev/engine/physics/src/box2d/Box2D/Collision/Shapes/b2PolygonShape.cpp#L123 As we don't want to sprinkle fixes inside the physics engines, we should try to validate...

While I haven't debugged it myself (yet), I assume it's 1) the resource system holding a pointer to the resource memory, and 2) the transcoder making a copy to write...

For the implementer: If we add defines via command line, then we should use them for C++ compilation as well. so the defines must go into the checksum of the...