procedure sbline

This subroutine draws a straight line between two points. All (x,y,z) values are taken to be given in world coordinates. The z-component of the eye-poisition should be positive, while that of both the ends should be negative; the viewing-screen is fixed at z=0.

Syntax
sbline EYE,END1,END2,ICOL,LDASH

Arguments
ARGUMENT    TYPE I/O DIMENSION DESCRIPTION
EYE:   R*4 I 3 (x,y,z) coordinate of eye-position.
END1:   R*4 I 3 (x,y,z) coordinate of end-1.
END2:   R*4 I 3 (x,y,z) coordinate of end-2.
ICOL:   I*4 I - Colour-index for line.
LDASH:   L*1 I - Dashed line if .TRUE. (else cont.).