| 152 | int main() { |
| 153 | #else |
| 154 | int __stdcall wWinMain(void*, void*, wchar_t*, int) { |
| 155 | #endif |
| 156 | log_subscribe(on_log); |
| 157 | log_set_filter(log_diagnostic); |
| 158 | |
| 159 | sk_settings_t settings = {}; |
| 160 | settings.app_name = "StereoKit C"; |
| 161 | settings.assets_folder = "Assets"; |
| 162 | settings.mode = app_mode_xr; |
| 163 | if (!sk_init(settings)) |
| 164 | return 1; |
| 165 | |
| 166 | common_init(); |
| 167 | |
| 168 | scene_set_active(demos[8]); |
| 169 | |
| 170 | sk_run(common_update, common_shutdown); |
| 171 | |
| 172 | return 0; |
| 173 | } |
| 174 | |
| 175 | void common_init() { |
| 176 | // Create a PBR floor material |
nothing calls this directly
no test coverage detected