convert line ends
[canaan.git] / prj / tech / libsrc / r3d / r3dutil.h
bloba9695bb65c62244a1adaee9d38b543a651cbc6d0
1 /*
2 * $Source: x:/prj/tech/libsrc/r3d/RCS/r3dutil.h $
3 * $Revision: 1.3 $
4 * $Author: JAEMZ $
5 * $Date: 1998/06/18 12:50:31 $
7 * View point related functions
9 */
11 #ifndef __UTILS_H
12 #define __UTILS_H
13 #pragma once
15 #include <matrixs.h>
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);
40 #endif // UTILS