add linear_depth material
This commit is contained in:
12
thermion_dart/native/include/material/linear_depth.S
Normal file
12
thermion_dart/native/include/material/linear_depth.S
Normal file
@@ -0,0 +1,12 @@
|
||||
.global LINEAR_DEPTH_LINEAR_DEPTH_OFFSET;
|
||||
.global LINEAR_DEPTH_LINEAR_DEPTH_SIZE;
|
||||
|
||||
.global LINEAR_DEPTH_PACKAGE
|
||||
.section .rodata
|
||||
LINEAR_DEPTH_PACKAGE:
|
||||
.incbin "linear_depth.bin"
|
||||
LINEAR_DEPTH_LINEAR_DEPTH_OFFSET:
|
||||
.int 0
|
||||
LINEAR_DEPTH_LINEAR_DEPTH_SIZE:
|
||||
.int 144758
|
||||
|
||||
12
thermion_dart/native/include/material/linear_depth.apple.S
Normal file
12
thermion_dart/native/include/material/linear_depth.apple.S
Normal file
@@ -0,0 +1,12 @@
|
||||
.global _LINEAR_DEPTH_LINEAR_DEPTH_OFFSET;
|
||||
.global _LINEAR_DEPTH_LINEAR_DEPTH_SIZE;
|
||||
|
||||
.global _LINEAR_DEPTH_PACKAGE
|
||||
.section __TEXT,__const
|
||||
_LINEAR_DEPTH_PACKAGE:
|
||||
.incbin "linear_depth.bin"
|
||||
_LINEAR_DEPTH_LINEAR_DEPTH_OFFSET:
|
||||
.int 0
|
||||
_LINEAR_DEPTH_LINEAR_DEPTH_SIZE:
|
||||
.int 144758
|
||||
|
||||
BIN
thermion_dart/native/include/material/linear_depth.bin
Normal file
BIN
thermion_dart/native/include/material/linear_depth.bin
Normal file
Binary file not shown.
7248
thermion_dart/native/include/material/linear_depth.c
Normal file
7248
thermion_dart/native/include/material/linear_depth.c
Normal file
File diff suppressed because it is too large
Load Diff
13
thermion_dart/native/include/material/linear_depth.h
Normal file
13
thermion_dart/native/include/material/linear_depth.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef LINEAR_DEPTH_H_
|
||||
#define LINEAR_DEPTH_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
extern const uint8_t LINEAR_DEPTH_PACKAGE[];
|
||||
extern int LINEAR_DEPTH_LINEAR_DEPTH_OFFSET;
|
||||
extern int LINEAR_DEPTH_LINEAR_DEPTH_SIZE;
|
||||
}
|
||||
#define LINEAR_DEPTH_LINEAR_DEPTH_DATA (LINEAR_DEPTH_PACKAGE + LINEAR_DEPTH_LINEAR_DEPTH_OFFSET)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user