| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 PPAPI_EXAMPLES_GLES2_SPINNING_CUBE_SPINNING_CUBE_H_ | 5 #ifndef PPAPI_EXAMPLES_GLES2_SPINNING_CUBE_SPINNING_CUBE_H_ |
| 6 #define PPAPI_EXAMPLES_GLES2_SPINNING_CUBE_SPINNING_CUBE_H_ | 6 #define PPAPI_EXAMPLES_GLES2_SPINNING_CUBE_SPINNING_CUBE_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_stdint.h" | 8 #include "ppapi/c/pp_stdint.h" |
| 9 | 9 |
| 10 class SpinningCube { | 10 class SpinningCube { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 bool initialized_; | 33 bool initialized_; |
| 34 uint32_t width_; | 34 uint32_t width_; |
| 35 uint32_t height_; | 35 uint32_t height_; |
| 36 // Owned ptr. | 36 // Owned ptr. |
| 37 GLState* state_; | 37 GLState* state_; |
| 38 float fling_multiplier_; | 38 float fling_multiplier_; |
| 39 int direction_; | 39 int direction_; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 #endif // PPAPI_EXAMPLES_GLES2_SPINNING_CUBE_SPINNING_CUBE_H_ | 42 #endif // PPAPI_EXAMPLES_GLES2_SPINNING_CUBE_SPINNING_CUBE_H_ |
| OLD | NEW |