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

Unified Diff: chrome/browser/android/vr_shell/vr_math.h

Issue 2668093002: VrShell background implemented in JS. (Closed)
Patch Set: Removed superfluous tests from previous patch set Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/vr_math.h
diff --git a/chrome/browser/android/vr_shell/vr_math.h b/chrome/browser/android/vr_shell/vr_math.h
index 7073d7445b597c023df8be946fec2f256ff4aa92..c5e031bf2eddbb62b244372bed71d86823db0332 100644
--- a/chrome/browser/android/vr_shell/vr_math.h
+++ b/chrome/browser/android/vr_shell/vr_math.h
@@ -34,6 +34,13 @@ typedef struct RotationAxisAngle {
float angle;
} RotationAxisAngle;
+typedef struct Colorf {
+ float r;
+ float g;
+ float b;
+ float a;
+} Colorf;
+
void SetIdentityM(gvr::Mat4f& mat);
void TranslateM(gvr::Mat4f& tmat, gvr::Mat4f& mat, float x, float y, float z);

Powered by Google App Engine
This is Rietveld 408576698