mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 03:32:19 +00:00
fix(cctv): reuse renderer visibility scratch state
This commit is contained in:
1 parent
c0752784d2
commit
b98b9d390f
6 files changed
+137
-93
No files matched your search
Vendored
+2
-2
@@ -234,8 +234,8 @@ export type CameraEvent =
|
||||
'changed' | 'moveStart' | 'moveEnd' | 'followChanged' | 'flightEnd';
|
||||
|
||||
export interface CameraPort {
|
||||
/** True only when its pose is an ECEF view of the 3D globe. Missing means unknown. */
|
||||
isWorld3D?(): boolean;
|
||||
/** Conservative visibility of an ECEF point set, with a horizon margin in metres; null means unknown. */
|
||||
visiblePoints?(points: Ecef[], horizonMarginM: number): boolean | null;
|
||||
pose(): CameraPose;
|
||||
/**
|
||||
* Place the eye. A position with a `{direction, up}` orientation is placed
|
||||
|
||||
Reference in new issue
Block a user