mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-07 05:30:31 +00:00
44dd62d369
It won't work yet as there's no gorm file and there's code that has been commented out, but it finally compiles.
33 lines
433 B
Objective-C
33 lines
433 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
|