FS2_Open
Open source remastering of the Freespace 2 engine
|
Go to the source code of this file.
Functions | |
void | init_free_points (void) |
vertex * | get_temp_point () |
void | free_temp_point (vertex *p) |
vertex * | clip_edge (int plane_flag, vertex *on_pnt, vertex *off_pnt, uint flags) |
Clips an edge against one plane. More... | |
void | clip_line (vertex **p0, vertex **p1, ubyte codes_or, uint flags) |
Clips a line to the viewing pyramid. More... | |
int | clip_plane (int plane_flag, vertex **src, vertex **dest, int *nv, ccodes *cc, uint flags) |
Clips a plane to the viewing pyramid. More... | |
vertex ** | clip_polygon (vertex **src, vertex **dest, int *nv, ccodes *cc, uint flags) |
Clips a polygon to the viewing pyramid. More... | |
Variables | |
int | free_point_num =0 |
vertex | temp_points [TMAP_MAX_VERTS] |
vertex * | free_points [TMAP_MAX_VERTS] |
Clips an edge against one plane.
Definition at line 55 of file 3dclipper.cpp.
Clips a line to the viewing pyramid.
Definition at line 197 of file 3dclipper.cpp.
Clips a plane to the viewing pyramid.
Definition at line 222 of file 3dclipper.cpp.
Clips a polygon to the viewing pyramid.
Definition at line 274 of file 3dclipper.cpp.
Definition at line 42 of file 3dclipper.cpp.
vertex* get_temp_point | ( | ) |
Definition at line 30 of file 3dclipper.cpp.
Definition at line 21 of file 3dclipper.cpp.
int free_point_num =0 |
Definition at line 16 of file 3dclipper.cpp.
vertex* free_points[TMAP_MAX_VERTS] |
Definition at line 19 of file 3dclipper.cpp.
vertex temp_points[TMAP_MAX_VERTS] |
Definition at line 18 of file 3dclipper.cpp.