Hi,
I just noticed that the implementation of
generic_character::get_height() seems to be wrong:
virtual float get_height()
{
matrix m = get_world_matrix();
float h = m_def->get_height_local() * m.m_[1][1];
return h;
}
virtual float get_width()
{
matrix m = get_world_matrix();
float w = m_def->get_width_local() * m.m_[0][0];
return w;
}
m.m_[x][1] is the rotation and m.m_[x][0] is the scale. So, in theory
get_width() should work as expected but get_height() should return a
wrong value.
Had no time to check this myself. Reading _height in ActionScript
should return a wrong value.
Can somebody check this, please?
Udo
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev