fix material headers for web

This commit is contained in:
Nick Fisher
2025-07-01 13:16:07 +08:00
parent ce2dc9b1cb
commit 4b9870244a
3 changed files with 12 additions and 0 deletions

View File

@@ -3,11 +3,15 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
extern const uint8_t GRID_PACKAGE[];
extern int GRID_GRID_OFFSET;
extern int GRID_GRID_SIZE;
#ifdef __cplusplus
}
#endif
#define GRID_GRID_DATA (GRID_PACKAGE + GRID_GRID_OFFSET)
#endif

View File

@@ -3,11 +3,15 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
extern const uint8_t LINEAR_DEPTH_PACKAGE[];
extern int LINEAR_DEPTH_LINEAR_DEPTH_OFFSET;
extern int LINEAR_DEPTH_LINEAR_DEPTH_SIZE;
#ifdef __cplusplus
}
#endif
#define LINEAR_DEPTH_LINEAR_DEPTH_DATA (LINEAR_DEPTH_PACKAGE + LINEAR_DEPTH_LINEAR_DEPTH_OFFSET)
#endif

View File

@@ -3,11 +3,15 @@
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
extern const uint8_t OUTLINE_PACKAGE[];
extern int OUTLINE_OUTLINE_OFFSET;
extern int OUTLINE_OUTLINE_SIZE;
#ifdef __cplusplus
}
#endif
#define OUTLINE_OUTLINE_DATA (OUTLINE_PACKAGE + OUTLINE_OUTLINE_OFFSET)
#endif