Nez.Portable/Physics/Verlet/Particle.cs
/// <summary>
/// pins the particle to the specified position
/// </summary>
/// <param name="position">Position.</param>
pins the particle to the specified position
pins the particle to the specified position
public Particle pinTo(Vector2 position)
        {
            isPinned = true;
            pinnedPosition = position;
            this.position = pinnedPosition;
            return this;
        }
public Particle pinTo ( Vector2 position ) { isPinned = true ; pinnedPosition = position ; this . position = pinnedPosition ; return this ; }
pins the particle to the specified position
pins the particle to the specified position
position
Vector2
None