From 968b9fcb9c800509039d2acb1992775bd6dc1962 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 9 Jul 2001 16:17:28 +0000 Subject: [PATCH] - /sim/model/h-rotation renamed to /sim/model/heading-offset-deg - /sim/model/p-rotation renamed to /sim/model/roll-offset-deg - /sim/model/r-rotation renamed to /sim/model/pitch-offset-deg - /sim/model/x-offset += "-m" - /sim/model/y-offset += "-m" - /sim/model/z-offset += "-m" --- src/Main/main.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index bc0d80d42..64a4f8f75 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -1726,12 +1726,12 @@ int main( int argc, char **argv ) { sgMat4 rot_matrix; sgMat4 off_matrix; sgMat4 res_matrix; - float h_rot = fgGetFloat("/sim/model/h-rotation", 0.0); - float p_rot = fgGetFloat("/sim/model/p-rotation", 0.0); - float r_rot = fgGetFloat("/sim/model/r-rotation", 0.0); - float x_off = fgGetFloat("/sim/model/x-offset", 0.0); - float y_off = fgGetFloat("/sim/model/y-offset", 0.0); - float z_off = fgGetFloat("/sim/model/z-offset", 0.0); + float h_rot = fgGetFloat("/sim/model/heading-offset-deg", 0.0); + float p_rot = fgGetFloat("/sim/model/roll-offset-deg", 0.0); + float r_rot = fgGetFloat("/sim/model/pitch-offset-deg", 0.0); + float x_off = fgGetFloat("/sim/model/x-offset-m", 0.0); + float y_off = fgGetFloat("/sim/model/y-offset-m", 0.0); + float z_off = fgGetFloat("/sim/model/z-offset-m", 0.0); sgMakeRotMat4(rot_matrix, h_rot, p_rot, r_rot); sgMakeTransMat4(off_matrix, x_off, y_off, z_off); sgMultMat4(res_matrix, off_matrix, rot_matrix); -- 2.39.5