chromium/third_party/blink/renderer/core/events/pointer_event_util.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {
// static
double PointerEventUtil::AzimuthFromTilt(double tilt_x_degrees,
                                         double tilt_y_degrees) {}

// static
double PointerEventUtil::AltitudeFromTilt(double tilt_x_degrees,
                                          double tilt_y_degrees) {}

// static
int32_t PointerEventUtil::TiltXFromSpherical(double azimuth_radians,
                                             double altitude_radians) {}

// static
int32_t PointerEventUtil::TiltYFromSpherical(double azimuth_radians,
                                             double altitude_radians) {}

// static
int32_t PointerEventUtil::TransformToTiltInValidRange(int32_t tilt_degrees) {}

// static
double PointerEventUtil::TransformToAzimuthInValidRange(
    double azimuth_radians) {}

// static
double PointerEventUtil::TransformToAltitudeInValidRange(
    double altitude_radians) {}
}  // namespace blink