<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hello,<br><br>can anyone test the the following tests in a windows box, please?<br>The option to be given at the executable is d3d.<br><br>Thanks in advance<br><br>David<br><br><br>--- En date de : <b>Sam 15.11.08, Frank Richter <i><frank.richter@gmail.com></i></b> a écrit :<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">De: Frank Richter <frank.richter@gmail.com><br>Objet: Re: ComputeSphereVisibility: a patch<br>À: "paulo lesgaz" <jeremielapuree@yahoo.fr><br>Cc: wine-devel@winehq.org<br>Date: Samedi 15 Novembre 2008, 19h14<br><br><pre>On 14.11.2008 20:27, paulo lesgaz wrote:<br>> Hi,<br>> <br>> here is a patch for a first try to implement ComputeSphereVisibility.<br>> Any feedback is welcome.<br><br>I think you can simplify the sphere-plane intersection.
Just compute the<br>signed distance D of the sphere center from the plane. If D > r, the<br>sphere is visible. If -r <= D <= r, the sphere is partially visible. if<br>D < -r, it's invisible.<br><br>Also, wine people like tests. You should probably add some.<br><br>-f.r.<br><br></pre></blockquote></td></tr></table><br>