add transform + controls for background image

This commit is contained in:
Nick Fisher
2022-09-05 12:38:58 +10:00
parent e07ffe8a75
commit 4a220a37c4
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);
}