home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.2 (Developer)
/
NS_dev_3.2.iso
/
NextDeveloper
/
Headers
/
3Dkit
/
N3DRotator.h
< prev
next >
Wrap
Text File
|
1992-07-18
|
719b
|
36 lines
/*
Copyright (c) 1991,1992 by NeXT Computer, Inc as an unpublished work.
All rights reserved.
*/
#import <objc/Object.h>
#import <appkit/graphics.h>
#import "next3d.h"
@interface N3DRotator : Object
{
id camera;
NXRect bounds;
NXPoint center;
float radius;
N3DAxis rotationAxis;
void *_N3Dprivate;
}
- init;
- initWithCamera:aCamera;
- setCamera:aCamera;
- setCenter:(const NXPoint *)c andRadius:(float)r;
- setRotationAxis:(N3DAxis)axis;
- (N3DAxis)rotationAxis;
- trackMouseFrom:(const NXPoint *)firstMouse to:(const NXPoint *)lastMouse
rotationMatrix:(RtMatrix)matrix andInverse:(RtMatrix)inverseMatrix;
- read:(NXTypedStream *)stream;
- write:(NXTypedStream *)stream;
@end