// 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/pose_util.h" #include "ui/gfx/geometry/transform.h" namespace vr { // Provides the direction the head is looking towards as a 3x1 unit vector. gfx::Vector3dF GetForwardVector(const gfx::Transform& head_pose) { … } } // namespace vr