修复
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yinsx
2026-01-05 14:11:45 +08:00
parent 8e65eeb501
commit 58cd883720
5 changed files with 16 additions and 36 deletions

View File

@ -57,17 +57,6 @@ const kernel = {
await mainApp.loadModel();
},
/** 更新环境贴图配置(路径/强度/旋转) */
setEnvironment: function (envConfig: { hdrPath?: string; intensity?: number; rotationY?: number }): void {
if (!mainApp) {
console.warn('mainApp is not initialized yet');
return;
}
if (envConfig) {
AppConfig.env = { ...AppConfig.env, ...envConfig };
mainApp.appEnv.updateEnvironment(AppConfig.env);
}
}
};
if (!window.faceSDK) {