Fixes to osgcluster demo as new Producer based example.
Added extra pragrma remove a warning about float to int cast under VS.NET.
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
#include <osg/GL>
|
||||
#include <osgProducer/Viewer>
|
||||
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osg/Quat>
|
||||
@@ -27,6 +24,9 @@
|
||||
#include <osgUtil/SmoothingVisitor>
|
||||
#include <osgUtil/Optimizer>
|
||||
|
||||
#include <osgProducer/Viewer>
|
||||
|
||||
|
||||
float refract = 1.01; // ratio of indicies of refraction
|
||||
float fresnel = 1.1; // Fresnel multiplier
|
||||
|
||||
|
||||
Reference in New Issue
Block a user