Show
Ignore:
Timestamp:
07/30/04 17:44:59 (10 years ago)
Author:
robert
Message:

Added beginnings of new TrackballManipulator?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osglightpoint/osglightpoint.cpp

    r2727 r3205  
    22#include <osgProducer/Viewer> 
    33 
    4 #include <osg/Transform> 
     4#include <osg/MatrixTransform> 
    55#include <osg/Billboard> 
    66#include <osg/Geode> 
     
    6060    end._color.set(1.0f,1.0f,1.0f,1.0f); 
    6161     
    62     osg::Transform* transform = new osg::Transform; 
     62    osg::MatrixTransform* transform = new osg::MatrixTransform; 
     63     
     64    transform->setDataVariance(osg::Object::STATIC); 
     65    transform->setMatrix(osg::Matrix::scale(0.1,0.1,0.1)); 
    6366 
    6467    osg::Vec3 start_delta(0.0f,10.0f,0.0f);