Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOSpatialReference.h
Go to the documentation of this file.
1/*
2
3OOSpatialReference.h
4
5Formal protocol for objects whose transformation matrix (and thus, position
6and orientation) can be observed. Currently used for cameras, potentially
7useful for stuff like positional audio (instead of OOSoundReferencePoint).
8
9
10Oolite
11Copyright (C) 2004-2013 Giles C Williams and contributors
12
13This program is free software; you can redistribute it and/or
14modify it under the terms of the GNU General Public License
15as published by the Free Software Foundation; either version 2
16of the License, or (at your option) any later version.
17
18This program is distributed in the hope that it will be useful,
19but WITHOUT ANY WARRANTY; without even the implied warranty of
20MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21GNU General Public License for more details.
22
23You should have received a copy of the GNU General Public License
24along with this program; if not, write to the Free Software
25Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
26MA 02110-1301, USA.
27
28*/
29
30#import "OOCocoa.h"
31#import "OOMaths.h"
32#import "Entity.h"
33
34
35@protocol OOSpatialReference <NSObject>
36
37- (OOMatrix) transformationMatrix;
38
39@end
40
41
42@interface Entity (OOSpatialReference) <OOSpatialReference>
43@end