Follow-up Comment #4, bug #21735 (project mypaint):

Coworker suggested this is happening:

https://www.wolframalpha.com/input/?i=x^2+-++y^2+%3D+1

instead of this:

https://www.wolframalpha.com/input/?i=x^2+%2B++y^2+%3D+1

I'm going to change the code from 1- to 1+
 if (abs(xtilt) > abs(ytilt)) {
        e = sqrt(1+ytilt*ytilt);
      } else {
        e = sqrt(1+xtilt*xtilt);
      }

to 

 if (abs(xtilt) > abs(ytilt)) {
        e = sqrt(1-ytilt*ytilt);
      } else {
        e = sqrt(1-xtilt*xtilt);
      }
and see if that helps

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21735>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to