Interface between North Star distortion and HMD code.
More...
Go to the source code of this file.
|
struct | ns_uv |
| Simple UV struct. More...
|
|
struct | ns_leap |
| Configuration information about the LMC or Rigel sensor according to the configuration file. More...
|
|
struct | ns_eye |
| Distortion information about an eye parsed from the configuration file. More...
|
|
struct | ns_hmd |
| Information about the whole North Star headset. More...
|
|
struct | ns_mesh |
| The mesh generator for the North Star distortion. More...
|
|
|
#define | NS_SPEW(c, ...) |
|
#define | NS_DEBUG(c, ...) |
|
#define | NS_ERROR(c, ...) |
|
Interface between North Star distortion and HMD code.
- Author
- Nova King techn.nosp@m.obab.nosp@m.oo@gm.nosp@m.ail..nosp@m.com
◆ NS_DEBUG
#define NS_DEBUG |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
if (c->print_debug) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)
◆ NS_ERROR
#define NS_ERROR |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} while (false)
◆ NS_SPEW
#define NS_SPEW |
( |
|
c, |
|
|
|
... |
|
) |
| |
Value:do { \
if (c->print_spew) { \
fprintf(stderr, "%s - ", __func__); \
fprintf(stderr, __VA_ARGS__); \
fprintf(stderr, "\n"); \
} \
} while (false)