mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Replaced static const values with defines.
This commit is contained in:
parent
5a2ee2770f
commit
59a76342f2
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@
|
|||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
static const uint8_t CAMERA_KEY_UP = 1u << 1;
|
||||
static const uint8_t CAMERA_KEY_DOWN = 1u << 2;
|
||||
static const uint8_t CAMERA_KEY_LEFT = 1u << 3;
|
||||
static const uint8_t CAMERA_KEY_RIGHT = 1u << 4;
|
||||
#define CAMERA_KEY_UP UINT8_C(0x1)
|
||||
#define CAMERA_KEY_DOWN UINT8_C(0x2)
|
||||
#define CAMERA_KEY_LEFT UINT8_C(0x4)
|
||||
#define CAMERA_KEY_RIGHT UINT8_C(0x8)
|
||||
|
||||
///
|
||||
void cameraSetPosition(float* _pos);
|
||||
|
|
Loading…
Reference in a new issue