quakeforge/tools/Forge/Bundles/MapEdit/Clipper.h
2010-11-28 15:31:33 +09:00

32 lines
440 B
Objective-C

#ifndef Clipper_h
#define Clipper_h
#include <AppKit/AppKit.h>
#include "QF/mathlib.h"
#include "SetBrush.h"
extern id clipper_i;
@interface Clipper:NSObject
{
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
#endif // Clipper_h