Esempio n. 1
0
            public Path(int nodes, int address, System.IO.BinaryReader br)
            {
                Address = address;
                br.BaseStream.Position = address;

                if (address < br.BaseStream.Length)
                {
                    for (int i = 0; i < nodes; i++)
                    {
                        PathPoints.Add(new Vector3 <short>(br.ReadBigInt16(), br.ReadBigInt16(), br.ReadBigInt16()));
                    }
                }
            }