-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed computation of intersectsRay() for Cylinder, Box and ConvexMesh #109
Fixed computation of intersectsRay() for Cylinder, Box and ConvexMesh #109
Commits on Apr 25, 2020
-
Fixed computation of the ray-box intersections.
Even according to the link to the used method, the approach should only work for axis-aligned boxes. But bodies::Box can be arbitrarily transformed. So I instead strip rotation from both the box and the ray, which gives the same results. The old implementation would fail every time the untransformed min corner ceased to be the min corner of the transformed box. # Conflicts: # src/bodies.cpp
Configuration menu - View commit details
-
Copy full SHA for 818af70 - Browse repository at this point
Copy the full SHA 818af70View commit details -
Fixed computation of Box::intersectsRay() in case the ray originates …
…within the box. A false second intersection was returned in that case, but as the ray starts inside the box, there should only be one intersection.
Configuration menu - View commit details
-
Copy full SHA for 6c9b24a - Browse repository at this point
Copy the full SHA 6c9b24aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 752d9a4 - Browse repository at this point
Copy the full SHA 752d9a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d65ecc - Browse repository at this point
Copy the full SHA 6d65eccView commit details
Commits on Apr 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 15b31c4 - Browse repository at this point
Copy the full SHA 15b31c4View commit details -
Fixed Cylinder::samplePointInside() not transforming the generated po…
…int by the transform of the body.
Configuration menu - View commit details
-
Copy full SHA for 0d68ede - Browse repository at this point
Copy the full SHA 0d68edeView commit details -
Fixed Cylinder::intersectsRay() to correctly return one intersection …
…in case the ray is touching the cylinder side. Also fixed the case when the ray goes exactly at the edge between base and sides.
Configuration menu - View commit details
-
Copy full SHA for a627e6f - Browse repository at this point
Copy the full SHA a627e6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab43142 - Browse repository at this point
Copy the full SHA ab43142View commit details -
Stopped preventing GCC optimizations on Box::intersectsRay().
The reported problems no longer occur.
Configuration menu - View commit details
-
Copy full SHA for c399036 - Browse repository at this point
Copy the full SHA c399036View commit details -
Fixed computation of ConvexMesh::intersectsRay() for padded meshes an…
…d some other bugs.
Configuration menu - View commit details
-
Copy full SHA for c3c4643 - Browse repository at this point
Copy the full SHA c3c4643View commit details -
Prevent reporting identical intersections multiple times in ConvexMes…
…h::intersectsRay().
Configuration menu - View commit details
-
Copy full SHA for 5954985 - Browse repository at this point
Copy the full SHA 5954985View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dd06d8 - Browse repository at this point
Copy the full SHA 2dd06d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ff0679 - Browse repository at this point
Copy the full SHA 4ff0679View commit details -
Configuration menu - View commit details
-
Copy full SHA for c888ccd - Browse repository at this point
Copy the full SHA c888ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a99602f - Browse repository at this point
Copy the full SHA a99602fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce88eca - Browse repository at this point
Copy the full SHA ce88ecaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ad1bf8 - Browse repository at this point
Copy the full SHA 2ad1bf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91bb2cd - Browse repository at this point
Copy the full SHA 91bb2cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1018336 - Browse repository at this point
Copy the full SHA 1018336View commit details -
Configuration menu - View commit details
-
Copy full SHA for ceb6a42 - Browse repository at this point
Copy the full SHA ceb6a42View commit details -
5
Configuration menu - View commit details
-
Copy full SHA for ed4cf13 - Browse repository at this point
Copy the full SHA ed4cf13View commit details