6 #include "GlobeCamera.h"
8 #include "VectorMathDecl.h"
10 #include "GpsGlobeCameraComponentConfiguration.h"
11 #include "Rendering.h"
30 virtual bool TryGetViewSettings(
33 float& out_distanceToInterest,
37 virtual bool IsGpsActive()
const;
38 virtual bool IsCompassActive()
const;
44 void HandleGpsCancelGestures(
const v2& touchPanPixelDelta,
float touchRotateAngleDelta);
45 void UpdateGpsControl(
float deltaSeconds,
bool& out_allowTouchRotate,
bool& out_allowTouchPan);
46 void UpdateCompassCamera(
float deltaSeconds,
const Space::EcefTangentBasis& cameraInterest,
v3& out_heading,
float& out_compassHeadingVelocity)
const;
48 float CalculateCompassModeOffset(
const dv3& interestLocation);
55 float m_compassHeadingVelocity;
56 bool m_gpsActiveLastFrame;