]> git.mxchange.org Git - simgear.git/commit
ocean state set in osg::Geometry
authortimoore <timoore>
Sun, 30 Sep 2007 19:51:49 +0000 (19:51 +0000)
committertimoore <timoore>
Sun, 30 Sep 2007 19:51:49 +0000 (19:51 +0000)
commit8398f45d43e095ddcee454e295a205e455184b4a
tree6e29a29bed2b4c25aa0825c7c1fe72fe37ddbb25
parentaeaaa50f6cdfbc0ebc6eee2615d7f81178da68c4
ocean state set in osg::Geometry

Put the ocean tile state set in osg::Geometry, not the osg::Geode, so that
is readily available during intersection testing and can be used to find the
corresponding SGMaterial.

Problem reported by grtux (gh.robin@laposte.net)
simgear/scene/tgdb/SGOceanTile.cxx