2010-09-01 10:37:10 +00:00
|
|
|
#ifndef Clipper_h
|
|
|
|
#define Clipper_h
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-09 11:46:38 +00:00
|
|
|
#include <AppKit/AppKit.h>
|
|
|
|
|
|
|
|
#include "QF/mathlib.h"
|
|
|
|
|
|
|
|
#include "SetBrush.h"
|
|
|
|
|
2010-09-11 10:06:04 +00:00
|
|
|
extern id clipper_i;
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-11 10:06:04 +00:00
|
|
|
@interface Clipper:NSObject {
|
|
|
|
int num;
|
|
|
|
vec3_t pos[3];
|
|
|
|
plane_t plane;
|
2003-03-18 19:48:24 +00:00
|
|
|
}
|
|
|
|
|
2010-09-11 10:06:04 +00:00
|
|
|
-(BOOL) hide;
|
|
|
|
-XYClick:(NSPoint) pt;
|
|
|
|
-(BOOL) XYDrag:(NSPoint *) pt;
|
|
|
|
-ZClick:(NSPoint) pt;
|
|
|
|
-carve;
|
|
|
|
-flipNormal;
|
|
|
|
-(BOOL) getFace:(face_t *) pl;
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-11 10:06:04 +00:00
|
|
|
-cameraDrawSelf;
|
|
|
|
-XYDrawSelf;
|
|
|
|
-ZDrawSelf;
|
2003-03-18 19:48:24 +00:00
|
|
|
|
|
|
|
@end
|
2010-09-11 10:06:04 +00:00
|
|
|
#endif // Clipper_h
|