|
||
Antiquated |
void draw_world_line ( SS_XYZ *p1, SS_XYZ *p2, int color )
SS_XYZ *p1; // world point 1 SS_XYZ *p2; // world point 2 int color; // color to use
|
|
|||||||||
Synopsis |
#include "silver.h"
The draw_world_line function draws a line on the screen in the specified color, between the two world points specified by p1 and p2 .
|
|
|||||||||
Parameters |
p1 and p2 are the addresses of two SS_XYZs, representing two points in world space. color is a color number in the range of 0 to 255, which may have the following flags or'ed in (as defined in silver.h):
|
|
|||||||||
Return Value |
none
|
|
|||||||||
Comments |
The 2D projection of the 3D line between the points may not lie within the bounds of the current window.
draw_world_line has been superseded by draw_world_line_rgb. |
|
|||||||||
See Also |
draw_rgb_line , draw_point , draw_world_point , refresh_lines , clear_away_lines
|
|
|||||||||
|
|