|
||
void draw_world_line_rgb ( SS_XYZ *p1, SS_XYZ *p2, RGB rgb, int mode )
SS_XYZ *p1; // world point 1 SS_XYZ *p2; // world point 2 RGB rgb; // rgb to use int mode; // width and inverse control
|
|
||||||||||
Synopsis |
#include "silver.h"
The draw_world_line_rgb 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. rgb is an rgb color number as constructed by MAKE_RGB. mode 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.
|
|
|||||||||
See Also |
draw_rgb_line , draw_point , draw_world_point , refresh_lines , clear_away_lines |
|
|||||||||
|
|