|
|
back to boardCommon Board1093 "dart" pisses me off I think its quite simple but I keep getting W.A. . I solve it by using the fact that any point Q satisfies (Q-C).N = 0, I substitute M with Q and get quadratic equation except in the case when Nz = 0. I solve it and verify for the roots if the distance is < r. I verified my computations at least 3 times. Here are a, b, c for the quad equation: - 5 * nz, vx * nx + vy * ny + vz * nz, nx * (sx - cx) + ny * (sy - cy) + nz * (sz - cz). I hope I didn't f#$!ed up the computations again, because I usualy do it. Please help! Re: 1093 Posted by LuoJi 21 May 2001 17:32 If the dart is on the plane at the beginning , u will also print it. Thanks a lot man (-) > If the dart is on the plane at the beginning , > u will also print it. |
|
|