using System;
using System.Collections;
using System.Text;

using xmljr.math;

namespace Pantry.Algorithms
{
    class PointPerspective
    {
        public static ArrayList View(object o)
        {
            ArrayList L = new ArrayList();
            if (o is Assets.MeshV3N3T2)
            {
                Assets.MeshV3N3T2 M = o as Assets.MeshV3N3T2;
                for (int k = 0; k < M.VertexData.Length; k += 8)
                {
                    Vector3 V = new Vector3(M.VertexData[k+0], M.VertexData[k+1], M.VertexData[k+2]);
                    L.Add(V);
                }
            }
            return L;
        }
    }
}
