You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
381 B
C++
20 lines
381 B
C++
9 years ago
|
#ifndef OPENMW_COMPONENTS_WATERUTIL_H
|
||
|
#define OPENMW_COMPONENTS_WATERUTIL_H
|
||
|
|
||
|
#include <osg/ref_ptr>
|
||
|
|
||
|
namespace osg
|
||
|
{
|
||
|
class Geometry;
|
||
|
class StateSet;
|
||
|
}
|
||
|
|
||
|
namespace SceneUtil
|
||
|
{
|
||
|
osg::ref_ptr<osg::Geometry> createWaterGeometry(float size, int segments, float textureRepeats);
|
||
|
|
||
|
osg::ref_ptr<osg::StateSet> createSimpleWaterStateSet(float alpha, int renderBin);
|
||
|
}
|
||
|
|
||
|
#endif
|