From b1c858d8f8bd12e09e06349a4b74e35675c3ca3a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 27 Oct 2008 10:40:13 +0000 Subject: [PATCH] Fixed positioning of wings --- examples/osglogo/osglogo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/osglogo/osglogo.cpp b/examples/osglogo/osglogo.cpp index 9fd972429..cbc1f0fe5 100644 --- a/examples/osglogo/osglogo.cpp +++ b/examples/osglogo/osglogo.cpp @@ -70,7 +70,7 @@ class MyBillboardTransform : public osg::PositionAttitudeTransform matrix.preMultTranslate(_position); matrix.preMultRotate(billboardRotation); matrix.preMultRotate(_attitude); - matrix.preMultTranslate(_pivotPoint); + matrix.preMultTranslate(-_pivotPoint); return true; }