I did not know that! When I was poking around the code elsewhere I saw a degree to radian define and conversion, so I thought that was the thing to do.
Anywho, if it warrants a second patch...
Index: fredrender.cpp
===================================================================
--- fredrender.cpp (revision 9202)
+++ fredrender.cpp (working copy)
@@ -1447,7 +1447,7 @@
int x, y, w, h, inst;
vec3d pos;
vertex v;
- angles a;
+ angles a, a_deg; //a is in rads, a_deg is in degrees
g3_end_frame(); // ** Accounted for
@@ -1530,9 +1530,14 @@
inst = Objects[Cursor_over].instance;
if ((Objects[Cursor_over].type == OBJ_SHIP) || (Objects[Cursor_over].type == OBJ_START)) {
vm_extract_angles_matrix(&a, &Objects[Cursor_over].orient);
+
+ a_deg.h = fl_degrees(a.h);
+ a_deg.p = fl_degrees(a.p);
+ a_deg.b = fl_degrees(a.b);
+
sprintf(buf, "%s\n%s\n( %.1f , %.1f , %.1f ) \nHeading: %.2f\nPitch: %.2f\nBank: %.2f",
Ships[inst].ship_name, Ship_info[Ships[inst].ship_info_index].short_name,
- pos.xyz.x, pos.xyz.y, pos.xyz.z, a.h, a.p, a.b);
+ pos.xyz.x, pos.xyz.y, pos.xyz.z, a_deg.h, a_deg.p, a_deg.b);
} else if (Objects[Cursor_over].type == OBJ_WAYPOINT) {
int idx;