Hello Martin,

Wednesday, October 11, 2006, 1:39:05 PM, you wrote:
>>     virtual float       get_height() const
>>         {
>>             matrix      m = get_world_matrix();
>> -           float       h = m_def->get_height_local() * m.m_[1][1];
>> +           float       h = m_def->get_height_local() * m.get_y_scale();
>>             return h;
>>         }
MG> erm, without knowing what it means by "height" in this context I can't
MG> say, and what m_def is, and what information it's trying to create.
MG> Out of context I have no way of knowing.

I think that's the function used for the ActionScript _height
property, right? Then get_height() should return the height (in twips)
of the character instance after applying the transformation matrix.


Udo



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to