ImpulseEngine icon indicating copy to clipboard operation
ImpulseEngine copied to clipboard

Manifold::Initialize() sqrt of square not required?

Open i-make-robots opened this issue 4 years ago • 2 comments

sf = std::sqrt( A->staticFriction * A->staticFriction );

Is there a reason this is done like so? Something unfinished, perhaps?

PS thank you so much for a clear 2D working example. I looked high and low for something similar to help me debug my own version. In the end I implemented a version of ImpulseEngine in Processing 4.

i-make-robots avatar Nov 07 '21 21:11 i-make-robots

What's wrong with it?

RandyGaul avatar Nov 07 '21 22:11 RandyGaul

Ah yeah it should mix A and B together, it's a typo :)

RandyGaul avatar Nov 07 '21 22:11 RandyGaul