chromium/chrome/browser/vr/elements/viewport_aware_root.cc

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

#include "chrome/browser/vr/elements/viewport_aware_root.h"

#include <cmath>

#include "base/numerics/angle_conversions.h"
#include "chrome/browser/vr/pose_util.h"

namespace vr {

namespace {

bool ElementHasVisibleChildren(UiElement* element) {}

}  // namespace

// static
const float ViewportAwareRoot::kViewportRotationTriggerDegrees =;

ViewportAwareRoot::ViewportAwareRoot() {}

ViewportAwareRoot::~ViewportAwareRoot() = default;

bool ViewportAwareRoot::OnBeginFrame(const gfx::Transform& head_pose) {}

bool ViewportAwareRoot::AdjustTranslation(float head_in_world_x,
                                          float head_in_world_z,
                                          bool did_rotate) {}

bool ViewportAwareRoot::AdjustRotationForHeadPose(
    const gfx::Vector3dF& look_at) {}

void ViewportAwareRoot::Reset() {}

bool ViewportAwareRoot::HasVisibleChildren() {}

}  // namespace vr