2 * $Source: x:/prj/tech/libsrc/r3d/RCS/r3dutil.h $
5 * $Date: 1998/06/18 12:50:31 $
7 * View point related functions
17 // Render a wire frame of radius rad.
18 // The caller is responsible for setting
19 // object space and color and block
20 EXTERN
void r3_wire_cube(float rad
);
22 // Draws a vector at position pos, and extending towards vec.
23 // You can scale it and set the maximum size of the vector
24 // The user is responsible for setting color and block and frame
25 EXTERN
void r3_render_vector(mxs_vector pos
,mxs_vector vec
,float scale
,float maxv
);
27 // The caller is responsible for all that jazz
28 // even setting object space and color and block
29 EXTERN
void r3_wire_sphere(float rad
);
31 // The caller is responsible for all that jazz
32 // even setting object space and color and block
33 // h is height of cylinder
34 EXTERN
void r3_wire_cylinder(float hrad
,float h
);
37 // Pass it a bounding box
38 EXTERN
void r3_wire_bbox(mxs_vector
*bmin
,mxs_vector
*bmax
);