Chromium Code Reviews| 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..3ffa7da2060559ada31c793ae860a02bcc109441 |
| --- /dev/null |
| +++ b/content/browser/vr/vr_transform_util.h |
| @@ -0,0 +1,17 @@ |
| +// 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" |
| + |
| +namespace content { |
| + |
| +VRVector4Ptr MatrixToOrientationQuaternion( |
|
Nico
2015/08/08 22:54:16
This probably needs a CONTENT_EXPORT
|
| + const float m0[3], const float m1[3], const float m2[3]); |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H |