C# Class IrrlichtNETCP.Extensions.WindGenerator

Datei anzeigen Open project: Paulus/irrlichtnetcp Class Usage Examples

Public Methods

Method Description
CreateWindGenerator ( float strength, float regularity ) : WindGenerator
Wind ( IrrlichtNETCP.Vector3D position, uint timeMs ) : IrrlichtNETCP.Vector2D
WindGenerator ( ) : System

Private Methods

Method Description
cosInterpolater ( float a, float b, float x ) : float
fcos ( float f ) : float
fsin ( float f ) : float
noise ( float x ) : float
noiseInterpolate ( float x ) : float
rndGenerator ( int x ) : float
windSmoother ( int x ) : float

Method Details

CreateWindGenerator() public static method

public static CreateWindGenerator ( float strength, float regularity ) : WindGenerator
strength float
regularity float
return WindGenerator

Wind() public method

public Wind ( IrrlichtNETCP.Vector3D position, uint timeMs ) : IrrlichtNETCP.Vector2D
position IrrlichtNETCP.Vector3D
timeMs uint
return IrrlichtNETCP.Vector2D

WindGenerator() public method

public WindGenerator ( ) : System
return System