Axiom.Samples.VolumeTexture.ThingRendable.AddTime C# (CSharp) Метод

AddTime() публичный Метод

Notify that t seconds have elapsed.
public AddTime ( float elapsedTime ) : void
elapsedTime float
Результат 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();
		}