Chromium Code Reviews| 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 { |
|
cjgrant
2017/02/01 14:36:40
Is there a GL or gfx:: struct we could use instead
tiborg1
2017/02/01 20:38:58
So, gfx uses SkColor, which is a 32 bit integer. T
|
| + 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); |