Spinner.cs 189 B

12345678910111213
  1. using System;
  2. using AtomicEngine;
  3. public class Spinner : CSComponent {
  4. float speed = 1.0f;
  5. void Update(float timeStep)
  6. {
  7. Node.Yaw(speed * timeStep * 75.0f);
  8. }
  9. }