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:
Robert Osfield
2003-03-16 21:58:27 +00:00
parent 787fe46e4f
commit e87a08f1c3
12 changed files with 111 additions and 425 deletions

View File

@@ -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