OpenSceneGraph/include/osgWidget/Types
Robert Osfield c2b77aa08e From Jeremy Moles, import of the osgWidget NodeKit, sourced from the original http://osgwidget.googlecode.com/svn/trunk
Notes from Robert Osfield, I've merged osgWidget trunk, and added/changed CMakeLists.txt file to make it suitable for inclusion in the core OSG, and moved imagery/scripts/shaders out into OpenSceneGraph-Data
2008-07-15 17:21:25 +00:00

32 lines
705 B
C++

// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008
// $Id: Types 33 2008-04-04 19:03:12Z cubicool $
#ifndef OSGWIDGET_TYPES
#define OSGWIDGET_TYPES
#include <numeric>
#include <osg/Geometry>
namespace osgWidget {
typedef osg::Vec2Array TexCoordArray;
typedef osg::Vec3Array PointArray;
typedef osg::Vec4Array ColorArray;
typedef TexCoordArray::value_type TexCoord;
typedef PointArray::value_type Point;
typedef ColorArray::value_type Color;
typedef TexCoord::value_type texcoord_type;
typedef Point::value_type point_type;
typedef Color::value_type color_type;
typedef osg::Vec2 XYCoord;
typedef osg::Vec4 Quad;
typedef osg::Matrix::value_type matrix_type;
}
#endif