Question on Morph instance

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question on Morph instance

nacho
Hi folks,
One quick question: when a Morph is instantiated: Morph new openInWorld

The "location" ivar is assigned a MatrixTransform2x3 identity.
With
a13 being  x position
a23 being  y position

now,
a11 or a22 must be the scale

and the rest are degrees, and?

Also, I'm a little puzzled if I inspect the morph created I get a matrix that is [ [1.0 0.0 0.0] [0.0 1.0 0.0] ], but non-square matrices do not have an identity matrix. Am I wrong or missing something?
thanks in advance
Nacho

Nacho Smalltalker apprentice. Buenos Aires, Argentina.