mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-02 17:12:55 +00:00
0e5cd14829
Add return-type information to all methods, split up lines properly where I could find them, and ran the whole thing through uncrustify. Looks purty now. :)
32 lines
493 B
Objective-C
32 lines
493 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;
|
|
- (id) XYClick: (NSPoint)pt;
|
|
- (BOOL) XYDrag: (NSPoint *)pt;
|
|
- (id) ZClick: (NSPoint)pt;
|
|
- (id) carve;
|
|
- (void) flipNormal;
|
|
- (BOOL) getFace: (face_t *)pl;
|
|
|
|
- (void) cameraDrawSelf;
|
|
- (void) XYDrawSelf;
|
|
- (void) ZDrawSelf;
|
|
|
|
@end
|
|
#endif // Clipper_h
|