Updates to Math for OSX build.

Added 3dmodelworld.com to the data source directory.

Fixed compile problem under VC6.0 in osgimpostor.
This commit is contained in:
Robert Osfield
2002-11-08 10:25:08 +00:00
parent 0cd0c575f0
commit 5db3229b5f
3 changed files with 16 additions and 8 deletions

View File

@@ -158,7 +158,8 @@ void LayoutAsGrid()
// setup grid information
osg::Group ** groups = new osg::Group*[GridX * GridY];
for (int i = 0; i < GridX * GridY; i++)
int i;
for (i = 0; i < GridX * GridY; i++)
groups[i] = new osg::Group();
float xGridStart = bbox.xMin();
@@ -180,7 +181,7 @@ void LayoutAsGrid()
}
// add nodes to building root
for (int i = 0; i < GridX * GridY; i++)
for (i = 0; i < GridX * GridY; i++)
{
osg::StateSet * stateset = new osg::StateSet();