From Cedric Pinson, updates to osganimation examples.
Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#SET(TARGET_SRC osganimationnode.cpp )
|
||||
#SET(TARGET_ADDED_LIBRARIES osgAnimation )
|
||||
#SETUP_EXAMPLE(osganimationnode)
|
||||
SET(TARGET_SRC osganimationnode.cpp )
|
||||
SET(TARGET_ADDED_LIBRARIES osgAnimation )
|
||||
SETUP_EXAMPLE(osganimationnode)
|
||||
|
||||
@@ -206,7 +206,7 @@ osg::Node* setupCube()
|
||||
|
||||
osg::MatrixTransform* setupAnimtkNode()
|
||||
{
|
||||
osg::Vec3 v[4];
|
||||
osg::Vec3 v[5];
|
||||
v[0] = osg::Vec3(0,0,0);
|
||||
v[1] = osg::Vec3(10,-50,0);
|
||||
v[2] = osg::Vec3(30,-10,20);
|
||||
|
||||
Reference in New Issue
Block a user