Add vecdraw function with better (?) defaults.
This commit is contained in:
parent
93f78cf2a8
commit
c99684d4dd
|
@ -15,6 +15,24 @@ on NAVMODE {return set_actual_prograde().}
|
|||
set_actual_prograde().
|
||||
|
||||
|
||||
function vdraw {
|
||||
parameter vector. // vector or function. For example, pass {return UP:vector.} to automatically update the draw
|
||||
parameter text is "".
|
||||
parameter color is RED.
|
||||
parameter start is V(0,0,0). // same as vector
|
||||
|
||||
vecdraw(
|
||||
start,
|
||||
vector,
|
||||
color,
|
||||
text,
|
||||
5.0, // scale
|
||||
true, // show
|
||||
0.05 // width
|
||||
).
|
||||
}
|
||||
|
||||
|
||||
// ANGLES
|
||||
lock actual_prograde_pitch to vang(actual_prograde:vector, UP:vector).
|
||||
|
||||
|
|
Loading…
Reference in a new issue