Ejemplo n.º 1
0
        private void MMessageBus_BookmardAddRequestEvent(object sender, BookmarkEvent e)
        {
            MBookmark b = new MBookmark();

            b.Name     = e.Name;
            b.Position = MassiveTools.ArrayFromVector(e.Position);
            b.Rotation = MassiveTools.ArrayFromQuaterniond(e.Rotation);
            Bookmarks.Add(b);
            Save();
            MMessageBus.BookmarkAdded(this, e);
        }