bsp
clipper.h
00001 #pragma once
00002 
00003 class TXYViewWindow;
00004 class Clipper
00005 {
00006 public:
00007     int                 num;
00008     vec3_t              pos[3];
00009     plane_t             plane;
00010     bool        state;
00011 
00012     Clipper();
00013     Clipper *copy();
00014     bool hide();
00015     void dragFrom(vec3_t location, int pttomove, int , int, int whichXY);
00016     void DragCallBack(float dx, float dy, int i, int, int);
00017     void XYClick(vec3_t pt, int, int, int, int);
00018     bool XYDrag(vec3_t pt, int , int, int);
00019     bool XYDragWhole(vec3_t pt, int , int, int);
00020     void carve();
00021     void split(bool);
00022     void flipNormal();
00023     bool getFace(face_t *pl);
00024 
00025     void cameraDrawSelf(HDC);
00026     void XYDrawSelf(TXYViewWindow *xy, HDC hdc, bool notBlack);
00027 };
 All Classes Functions