Ejemplo n.º 1
0
        private Vector3D GetPathPoint(int index)
        {
            ParticleRelativePath path = null;
            int localIndex            = 0;
            int listIndex             = 0;

            GetRelativePath(index, out path, out localIndex, out listIndex);
            if (path == null)
            {
                return(m_paths[m_paths.Count() - 1].GetPoint(m_paths[m_paths.Count() - 1].GetPointCount()));
            }

            Vector3D point = path.GetPoint(localIndex);

            return(point);
        }