#include "third_party/blink/renderer/core/events/pointer_event_util.h"
#include <cmath>
#include "third_party/blink/renderer/platform/wtf/math_extras.h"
namespace blink {
double PointerEventUtil::AzimuthFromTilt(double tilt_x_degrees,
double tilt_y_degrees) { … }
double PointerEventUtil::AltitudeFromTilt(double tilt_x_degrees,
double tilt_y_degrees) { … }
int32_t PointerEventUtil::TiltXFromSpherical(double azimuth_radians,
double altitude_radians) { … }
int32_t PointerEventUtil::TiltYFromSpherical(double azimuth_radians,
double altitude_radians) { … }
int32_t PointerEventUtil::TransformToTiltInValidRange(int32_t tilt_degrees) { … }
double PointerEventUtil::TransformToAzimuthInValidRange(
double azimuth_radians) { … }
double PointerEventUtil::TransformToAltitudeInValidRange(
double altitude_radians) { … }
}