Axiom.Samples.VolumeTexture.ThingRendable.AddTime C# (CSharp) Method

AddTime() public method

Notify that t seconds have elapsed.
public AddTime ( float elapsedTime ) : void
elapsedTime float
return void
		public void AddTime( float elapsedTime )
		{
			for ( int x = 0; x < count; x++ )
			{
				Quaternion dest = things[ x ] * orbits[ x ];
				things[ x ] = things[ x ] + elapsedTime * ( dest - things[ x ] );
				things[ x ].Normalize();
			}

			FillBuffer();
		}