blob: d78e4b4c049c6a1f2275d1a75176f06fbda106ba [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_VR_UTIL_TRANSFORM_UTILS_H_
#define DEVICE_VR_UTIL_TRANSFORM_UTILS_H_
namespace gfx {
class Transform;
class Vector3dF;
} // namespace gfx
namespace device {
namespace vr_utils {
gfx::Transform MakeTranslationTransform(float x, float y, float z);
gfx::Transform MakeTranslationTransform(const gfx::Vector3dF& translation);
gfx::Transform DefaultHeadFromLeftEyeTransform();
gfx::Transform DefaultHeadFromRightEyeTransform();
} // namespace vr_utils
} // namespace device
#endif // DEVICE_VR_UTIL_TRANSFORM_UTILS_H_