<br><br><div class="gmail_quote">2010/7/13 Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu">leves@elte.hu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Tue, 13 Jul 2010, <a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Nicolas Cellier uploaded a new version of Graphics to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Graphics-nice.143.mcz" target="_blank">http://source.squeak.org/trunk/Graphics-nice.143.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Graphics-nice.143<br>
Author: nice<br>
Time: 13 July 2010, 8:53:47.189 pm<br>
UUID: 73b2435d-0711-4319-a602-5e5b997209d6<br>
Ancestors: Graphics-jcg.142<br>
<br>
_ -&gt; :=<br>
</blockquote>
<br>
What about changing all underscore assignments to ansi in one shot with the Refactoring Engine or the FixUnderscores utility?<br>
<br></blockquote><div><br>Yes, if you want. I don&#39;t know if the 1st preserves method stamps nor if the latter never fails...<br>Anyway, one should do this from a clean image.<br>Mine was not, so this was just the result of some random Browsing...<br>
 <br>Nicolas<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Levente<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
=============== Diff against Graphics-jcg.142 ===============<br>
<br>
Item was changed:<br>
 ----- Method: Point&gt;&gt;normal (in category &#39;point functions&#39;) -----<br>
 normal<br>
        &quot;Answer a Point representing the unit vector rotated 90 deg clockwise.<br>
        For the zero point return a normal of  -1@0   .&quot;<br>
<br>
        | n d |<br>
<br>
+       n := y negated @ x.<br>
-       n _ y negated @ x.<br>
        (d := (n x * n x + (n y * n y))) = 0 ifTrue: [ ^  -1 @0  ] .<br>
        ^n / d sqrt!<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br>