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

Side by Side Diff: chrome/browser/android/vr_shell/vr_math.h

Issue 2377763003: Revert "Updated to GVR 1.0 SDK" (Closed)
Patch Set: Created 4 years, 2 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_MATH_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_MATH_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_MATH_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_MATH_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "third_party/gvr-android-sdk/src/ndk/include/vr/gvr/capi/include/gvr_ty pes.h" 10 #include "third_party/gvr-android-sdk/src/ndk-beta/include/vr/gvr/capi/include/g vr_types.h"
11 11
12 namespace vr_shell { 12 namespace vr_shell {
13 13
14 // 2D rectangles. Unlike gvr::Rectf and gvr::Recti, these have width and height 14 // 2D rectangles. Unlike gvr::Rectf and gvr::Recti, these have width and height
15 // rather than right and top. 15 // rather than right and top.
16 typedef struct Recti { 16 typedef struct Recti {
17 int x; 17 int x;
18 int y; 18 int y;
19 int width; 19 int width;
20 int height; 20 int height;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 gvr::Quatf QuatFromAxisAngle(float x, float y, float z, float angle); 82 gvr::Quatf QuatFromAxisAngle(float x, float y, float z, float angle);
83 83
84 gvr::Vec3f GetRayPoint(const gvr::Vec3f& rayOrigin, 84 gvr::Vec3f GetRayPoint(const gvr::Vec3f& rayOrigin,
85 const gvr::Vec3f& rayVector, 85 const gvr::Vec3f& rayVector,
86 float scale); 86 float scale);
87 87
88 } // namespace vr_shell 88 } // namespace vr_shell
89 89
90 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_MATH_H_ 90 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_MATH_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/vr_gl_util.h ('k') | chrome/browser/android/vr_shell/vr_math.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698