1
0
Fork 0

Fixed rotation around x axis (bug 486).

* clutter/clutter-actor.c:
(_clutter_actor_apply_modelview_transform):
This commit is contained in:
Tomas Frydrych 2007-08-24 06:19:06 +00:00
parent 46a3a0bec6
commit e0f609e8aa
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2007-08-24 Tomas Frydrych <tf@openedhand.com>
* clutter/clutter-actor.c:
(_clutter_actor_apply_modelview_transform):
Fixed rotation around x axis (bug 486).
2007-08-23 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-private.h:

View file

@ -624,7 +624,7 @@ _clutter_actor_apply_modelview_transform (ClutterActor * self)
{
cogl_translate (0, priv->rxy, priv->z + priv->rxz);
cogl_rotatex (priv->rxang, CFX_ONE, 0, 0);
cogl_translate (0, -priv->rxy, -(priv->z - priv->rxz));
cogl_translate (0, -priv->rxy, -(priv->z + priv->rxz));
}
if (priv->z)