fix camera manipulator/gesture detector, add explicit functions to set camera pos/rot, add unlitshader material provider
This commit is contained in:
12
ios/src/shaders/unlitopaque.S
Normal file
12
ios/src/shaders/unlitopaque.S
Normal file
@@ -0,0 +1,12 @@
|
||||
.global UNLITOPAQUE_UNLIT_OPAQUE_OFFSET;
|
||||
.global UNLITOPAQUE_UNLIT_OPAQUE_SIZE;
|
||||
|
||||
.global UNLITOPAQUE_PACKAGE
|
||||
.section .rodata
|
||||
UNLITOPAQUE_PACKAGE:
|
||||
.incbin "unlitopaque.bin"
|
||||
UNLITOPAQUE_UNLIT_OPAQUE_OFFSET:
|
||||
.int 0
|
||||
UNLITOPAQUE_UNLIT_OPAQUE_SIZE:
|
||||
.int 35615
|
||||
|
||||
12
ios/src/shaders/unlitopaque.apple.S
Normal file
12
ios/src/shaders/unlitopaque.apple.S
Normal file
@@ -0,0 +1,12 @@
|
||||
.global _UNLITOPAQUE_UNLIT_OPAQUE_OFFSET;
|
||||
.global _UNLITOPAQUE_UNLIT_OPAQUE_SIZE;
|
||||
|
||||
.global _UNLITOPAQUE_PACKAGE
|
||||
.section __TEXT,__const
|
||||
_UNLITOPAQUE_PACKAGE:
|
||||
.incbin "unlitopaque.bin"
|
||||
_UNLITOPAQUE_UNLIT_OPAQUE_OFFSET:
|
||||
.int 0
|
||||
_UNLITOPAQUE_UNLIT_OPAQUE_SIZE:
|
||||
.int 35615
|
||||
|
||||
BIN
ios/src/shaders/unlitopaque.bin
Normal file
BIN
ios/src/shaders/unlitopaque.bin
Normal file
Binary file not shown.
1790
ios/src/shaders/unlitopaque.c
Normal file
1790
ios/src/shaders/unlitopaque.c
Normal file
File diff suppressed because it is too large
Load Diff
13
ios/src/shaders/unlitopaque.h
Normal file
13
ios/src/shaders/unlitopaque.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef UNLITOPAQUE_H_
|
||||
#define UNLITOPAQUE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
extern const uint8_t UNLITOPAQUE_PACKAGE[];
|
||||
extern int UNLITOPAQUE_UNLIT_OPAQUE_OFFSET;
|
||||
extern int UNLITOPAQUE_UNLIT_OPAQUE_SIZE;
|
||||
}
|
||||
#define UNLITOPAQUE_UNLIT_OPAQUE_DATA (UNLITOPAQUE_PACKAGE + UNLITOPAQUE_UNLIT_OPAQUE_OFFSET)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user