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"
|
|
|
|
|
2003-03-18 19:48:24 +00:00
|
|
|
extern id clipper_i;
|
|
|
|
|
2010-09-01 10:37:10 +00:00
|
|
|
@interface Clipper : NSObject
|
2003-03-18 19:48:24 +00:00
|
|
|
{
|
|
|
|
int num;
|
|
|
|
vec3_t pos[3];
|
|
|
|
plane_t plane;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL)hide;
|
|
|
|
- XYClick: (NSPoint)pt;
|
|
|
|
- (BOOL)XYDrag: (NSPoint *)pt;
|
|
|
|
- ZClick: (NSPoint)pt;
|
|
|
|
- carve;
|
|
|
|
- flipNormal;
|
|
|
|
- (BOOL)getFace: (face_t *)pl;
|
|
|
|
|
|
|
|
- cameraDrawSelf;
|
|
|
|
- XYDrawSelf;
|
|
|
|
- ZDrawSelf;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2010-09-01 10:37:10 +00:00
|
|
|
#endif//Clipper_h
|