celx: add titles for examples
parent
ee43f559a0
commit
4c93f8b948
|
@ -1,3 +1,5 @@
|
||||||
|
-- Title: Toggle Eclipic Grid
|
||||||
|
|
||||||
t = {} -- create table
|
t = {} -- create table
|
||||||
t.equatorialgrid = false
|
t.equatorialgrid = false
|
||||||
t.galacticgrid = false
|
t.galacticgrid = false
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
-- Title: Toggle Galactic Grid
|
||||||
|
|
||||||
t = {} -- create table
|
t = {} -- create table
|
||||||
t.equatorialgrid = false
|
t.equatorialgrid = false
|
||||||
t.galacticgrid = not celestia:getrenderflags().galacticgrid
|
t.galacticgrid = not celestia:getrenderflags().galacticgrid
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
-- Title: Toggle Horizontal Grid
|
||||||
|
|
||||||
t = {} -- create table
|
t = {} -- create table
|
||||||
t.equatorialgrid = false
|
t.equatorialgrid = false
|
||||||
t.galacticgrid = false
|
t.galacticgrid = false
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
-- Title: Mark all D stars
|
||||||
|
|
||||||
function mark_spectraltype(x)
|
function mark_spectraltype(x)
|
||||||
local obs = celestia:getobserver()
|
local obs = celestia:getobserver()
|
||||||
local nstars = celestia:getstarcount()
|
local nstars = celestia:getstarcount()
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
-- Title: Tour around Solar system objects
|
||||||
|
|
||||||
function gotoobject(o, t)
|
function gotoobject(o, t)
|
||||||
local obs = celestia:getobserver()
|
local obs = celestia:getobserver()
|
||||||
obs:follow(o)
|
obs:follow(o)
|
||||||
|
|
Loading…
Reference in New Issue