|
|
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
>...
> tmp = m00*ai + m01
> m01 = int(m00)
> m00 = int(tmp)
> tmp = m10*ai + m11
> m11 = int(m10)
> m10 = int(tmp)
>...
Sorry, that was not very Pythonic. I try again:
m00, m01 = int(m00*ai + m01), int(m00)
m10, m11 = int(m10*ai + m11), int(m10)
--
Tor Olav
http://subcube.com
https://github.com/t-o-k
Post a reply to this message
|
|