feat: tactical icons, follow-camera orbit, and ship info panel
This commit is contained in:
@@ -39,6 +39,8 @@ export interface ViewerNavigationContext {
|
||||
getPovLevel: () => PovLevel;
|
||||
getSelectedItems: () => Selectable[];
|
||||
getOrbitYaw: () => number;
|
||||
getFollowOrbitYaw: () => number;
|
||||
getFollowOrbitPitch: () => number;
|
||||
galaxyAnchor: THREE.Vector3;
|
||||
systemAnchor: THREE.Vector3;
|
||||
galaxyCamera: THREE.PerspectiveCamera;
|
||||
@@ -126,6 +128,8 @@ export class ViewerNavigationController {
|
||||
followCameraOffset: this.context.followCameraOffset,
|
||||
systemAnchor: this.context.systemAnchor,
|
||||
delta,
|
||||
followOrbitYaw: this.context.getFollowOrbitYaw(),
|
||||
followOrbitPitch: this.context.getFollowOrbitPitch(),
|
||||
getAnimatedShipLocalPosition,
|
||||
toDisplayLocalPosition: (localPosition) => toDisplayLocalPosition(localPosition),
|
||||
resolveShipHeading: (visual, worldPosition) => resolveShipHeading(visual, worldPosition, this.context.getOrbitYaw()),
|
||||
|
||||
Reference in New Issue
Block a user