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
This commit is contained in:
31
include/osgWidget/Types
Normal file
31
include/osgWidget/Types
Normal file
@@ -0,0 +1,31 @@
|
||||
// -*-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
|
||||
Reference in New Issue
Block a user