1
0
Fork 0

x/y/z offsets are in m, not deg

This commit is contained in:
mfranz 2009-02-01 11:40:03 +00:00 committed by Tim Moore
parent ec03d4ce01
commit 46d381cc87

View file

@ -147,11 +147,11 @@ FGViewMgr::reinit ()
fgSetDouble("/sim/current-view/field-of-view", fov_deg);
// target offsets for lookat mode only...
fgSetDouble("/sim/current-view/target-x-offset-deg",
fgSetDouble("/sim/current-view/target-x-offset-m",
n->getDoubleValue("config/target-x-offset-m"));
fgSetDouble("/sim/current-view/target-y-offset-deg",
fgSetDouble("/sim/current-view/target-y-offset-m",
n->getDoubleValue("config/target-y-offset-m"));
fgSetDouble("/sim/current-view/target-z-offset-deg",
fgSetDouble("/sim/current-view/target-z-offset-m",
n->getDoubleValue("config/target-z-offset-m"));
}
setView(0);