Exemplo n.º 1
0
Arquivo: Game.cs Projeto: sq/Fracture
 static Vector2 _InterpolatorSource(ref Orb orb, int index)
 {
     if (index == 0)
         return orb.LastPosition;
     else if (index == 1)
         return orb.NextPosition;
     else
         throw new ArgumentException("This source only provides values for 0 and 1", "index");
 }