add transform + controls for background image

This commit is contained in:
Nick Fisher
2022-09-05 12:38:58 +10:00
parent 0c39fec87d
commit 0ac25b32e3
11 changed files with 412 additions and 513 deletions

View File

@@ -27,6 +27,10 @@ extern "C" {
((FilamentViewer*)viewer)->setBackgroundImage(path);
}
void set_background_image_position(void* viewer, float x, float y) {
((FilamentViewer*)viewer)->setBackgroundImagePosition(x, y);
}
void load_skybox(void* viewer, const char* skyboxPath) {
((FilamentViewer*)viewer)->loadSkybox(skyboxPath);
}