Пример #1
0
        public override void init()
        {
            Device d3dDevice = GuiController.Instance.D3dDevice;

            modifier = new RoomsEditorModifier("RoomsEditor", this);
            GuiController.Instance.Modifiers.add(modifier);

            GuiController.Instance.FpsCamera.Enable = true;
            GuiController.Instance.FpsCamera.MovementSpeed = 200f;
            GuiController.Instance.FpsCamera.JumpSpeed = 200f;
            GuiController.Instance.FpsCamera.setCamera(new Vector3(133.0014f, 264.8258f, -119.0311f), new Vector3(498.1584f, -299.4199f, 621.433f));
        }
Пример #2
0
        public override void init()
        {
            Device d3dDevice = GuiController.Instance.D3dDevice;

            modifier = new RoomsEditorModifier("RoomsEditor", this);
            GuiController.Instance.Modifiers.add(modifier);

            GuiController.Instance.FpsCamera.Enable        = true;
            GuiController.Instance.FpsCamera.MovementSpeed = 200f;
            GuiController.Instance.FpsCamera.JumpSpeed     = 200f;
            GuiController.Instance.FpsCamera.setCamera(new Vector3(133.0014f, 264.8258f, -119.0311f), new Vector3(498.1584f, -299.4199f, 621.433f));
        }