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

This commit is contained in:
yinsx
2026-01-05 14:17:30 +08:00
parent 58cd883720
commit ebbd21916e
4 changed files with 9 additions and 22 deletions

View File

@ -21,12 +21,12 @@
</div>
<script type="module">
import { kernel } from 'https://sdk.zguiy.com/zt/assets/index.js';
import { kernel } from './src/main.ts';
// import { kernel } from 'https://sdk.zguiy.com/zt/assets/index.js';
const config = {
container: 'renderDom',
modelUrlList: ['/public/model/model.glb'],
env: { envPath: '/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 },
env: { envPath: '/public/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 },
onSuccess: () => console.log('SDK initialized (module)'),
onError: (err) => console.error('SDK init error', err),
};