Cleaned up usage of BIND_PER_PRIMITIVE where possible.
This commit is contained in:
@@ -22,6 +22,11 @@
|
||||
* exist in the triangulation.
|
||||
*/
|
||||
|
||||
#include <osg/Config>
|
||||
#ifndef OSG_USE_DEPRECATED_GEOMETRY_METHODS
|
||||
#define OSG_USE_DEPRECATED_GEOMETRY_METHODS 1
|
||||
#endif
|
||||
|
||||
#include <osgDB/ReadFile>
|
||||
#include <osgUtil/Optimizer>
|
||||
#include <osgViewer/Viewer>
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
// example uses a NodeVisitor to try to find worthwhile locations
|
||||
// for OcclusionQueryNodes in your the scene graph.
|
||||
|
||||
#include <osg/Config>
|
||||
#ifndef OSG_USE_DEPRECATED_GEOMETRY_METHODS
|
||||
#define OSG_USE_DEPRECATED_GEOMETRY_METHODS 1
|
||||
#endif
|
||||
|
||||
|
||||
#include <osg/NodeVisitor>
|
||||
|
||||
Reference in New Issue
Block a user