mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 02:26:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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
 |