Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Side by Side Diff: content/browser/vr/vr_transform_util.h

Issue 1200303002: Android WebVR implementation, Cardboard 0.5.5 SDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed feedback from jochen@ Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H
6 #define CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H
7
8 #include "content/common/vr_service.mojom.h"
9
10 #ifndef M_PI
11 #define M_PI 3.14159265358979323846
12 #endif
13
14 namespace content {
15
16 VRVector4Ptr MatrixToOrientationQuaternion(
17 const float m0[3], const float m1[3], const float m2[3]);
18
19 } // namespace content
20
21 #endif // CONTENT_BROWSER_VR_VR_TRANSFORM_UTILS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698