| Index: content/browser/vr/vr_transform_util.h
|
| diff --git a/content/browser/vr/vr_transform_util.h b/content/browser/vr/vr_transform_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1efa272ba439cb6a30b016b9a9d499b67ea72397
|
| --- /dev/null
|
| +++ b/content/browser/vr/vr_transform_util.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2015 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 CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H
|
| +#define CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H
|
| +
|
| +#include "content/common/vr_service.mojom.h"
|
| +
|
| +#ifndef M_PI
|
| +#define M_PI 3.14159265358979323846
|
| +#endif
|
| +
|
| +namespace content {
|
| +
|
| +VRVector4Ptr MatrixToOrientationQuaternion(
|
| + const float m0[3], const float m1[3], const float m2[3]);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H
|
|
|