bool look(string[] args, Gk3Main.Console console) { Gk3Main.Math.Vector3 forward = Gk3Main.Math.Vector3.Forward; forward = _camera.Orientation * forward; console.WriteLine("Looking at {0}", forward); return(true); }
bool run(string[] args, Gk3Main.Console console) { if (args.Length != 3) { return(false); } // Gk3Main.Sheep.SheepMachine.RunSheep(args[1], args[2]); return(true); }
bool viewSurfaceLightmap(string[] args, Gk3Main.Console console) { if (args.Length != 2) { return(false); } int surface; if (int.TryParse(args[1], out surface) == false) { return(false); } TextureViewer viewer = new TextureViewer(); viewer.DisplaySurfaceLightmap(Gk3Main.SceneManager.CurrentRoom, Gk3Main.SceneManager.CurrentLightmaps, surface); viewer.Show(); return(true); }