~ubuntu-branches/debian/experimental/openscenegraph/experimental

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/serializers/osg/Cone.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Luaces
  • Date: 2011-01-29 11:36:29 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110129113629-qisrm2kdqlurc7t3
Tags: 2.9.11-1
* Removed bug-555869-ftbfs_with_binutils_gold.dpatch since upstream has
  already taken care of the issue.
* Removed bug-528229.dpatch since the pkgconfig files are now also split
  in upstream.
* Removed explicit dependency on GLU.
* Upstream no longer includes osgIntrospection (Closes: #592420).
* Disabled zip plugin as its implementation stores an embedded copy of
  zlib.
* Enabled Qt support. Thanks James Goppert.
* Enabled SVG and PDF plugins. Thanks James Goppert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <osg/Shape>
 
2
#include <osgDB/ObjectWrapper>
 
3
#include <osgDB/InputStream>
 
4
#include <osgDB/OutputStream>
 
5
 
 
6
REGISTER_OBJECT_WRAPPER( Cone,
 
7
                         new osg::Cone,
 
8
                         osg::Cone,
 
9
                         "osg::Object osg::Shape osg::Cone" )
 
10
{
 
11
    ADD_VEC3_SERIALIZER( Center, osg::Vec3() );  // _center
 
12
    ADD_FLOAT_SERIALIZER( Radius, 0.0f );  // _radius
 
13
    ADD_FLOAT_SERIALIZER( Height, 0.0f );  // _height
 
14
    ADD_QUAT_SERIALIZER( Rotation, osg::Quat() );  // _rotation
 
15
}