quakeforge/tools/Forge/Bundles/MapEdit/Clipper.h

33 lines
440 B
C
Raw Normal View History

#ifndef Clipper_h
#define Clipper_h
#include <AppKit/AppKit.h>
#include "QF/mathlib.h"
#include "SetBrush.h"
2010-09-11 10:06:04 +00:00
extern id clipper_i;
2010-09-11 23:14:08 +00:00
@interface Clipper:NSObject
{
2010-09-11 10:06:04 +00:00
int num;
vec3_t pos[3];
plane_t plane;
}
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;
2010-09-11 10:06:04 +00:00
-cameraDrawSelf;
-XYDrawSelf;
-ZDrawSelf;
@end
2010-09-11 10:06:04 +00:00
#endif // Clipper_h