2012-08-16 14:18:21 +00:00
|
|
|
|
#region Using Statements
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
|
|
|
|
|
|
namespace ANX.Framework.Content.Pipeline.Graphics
|
|
|
|
|
{
|
|
|
|
|
public sealed class PositionCollection : Collection<Vector3>
|
|
|
|
|
{
|
|
|
|
|
public PositionCollection()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2015-04-08 14:50:03 +02:00
|
|
|
|
public void AddRange(IEnumerable<Vector3> enumerable)
|
|
|
|
|
{
|
|
|
|
|
if (enumerable == null)
|
|
|
|
|
throw new ArgumentNullException("enumerable");
|
2012-08-16 14:18:21 +00:00
|
|
|
|
|
2015-04-08 14:50:03 +02:00
|
|
|
|
foreach (var obj in enumerable)
|
|
|
|
|
this.Add(obj);
|
|
|
|
|
}
|
2012-08-16 14:18:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|