mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed C99 compile issue.
This commit is contained in:
parent
dbca2689ca
commit
6998941b8f
1 changed files with 16 additions and 13 deletions
|
@ -181,25 +181,28 @@ typedef struct bgfx_transform
|
|||
|
||||
} bgfx_transform_t;
|
||||
|
||||
/**
|
||||
*/
|
||||
typedef struct bgfx_hmd
|
||||
{
|
||||
/**
|
||||
* Eye
|
||||
*/
|
||||
struct Eye
|
||||
typedef struct bgfx_hmd_eye
|
||||
{
|
||||
float rotation[4];
|
||||
float translation[3];
|
||||
float fov[4];
|
||||
float adjust[3];
|
||||
float pixelsPerTanAngle[2];
|
||||
};
|
||||
|
||||
Eye eye[2];
|
||||
} bgfx_hmd_eye_t;
|
||||
|
||||
/**
|
||||
* HMD
|
||||
*/
|
||||
typedef struct bgfx_hmd
|
||||
{
|
||||
bgfx_hmd_eye_t eye[2];
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
|
||||
} bgfx_hmd_t;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue