File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ <h1 class="h3 mb-3 fw-normal">看板娘登陆平台</h1>
166
166
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
167
167
* GNU General Public License for more details.
168
168
*/
169
- import { Model } from "../build/index.js" ;
169
+ import { Cubism2Model } from "../build/index.js" ;
170
170
document . getElementById ( "text" ) . innerHTML = `<span style="color: cyan;">MIMI</span><span style="color: white;">POWERED</span>` . repeat ( 10 ) ;
171
171
window . addEventListener ( "load" , ( ) => {
172
172
if ( ! CSS . supports ( "clip-path" , "circle(120px at center)" ) ) {
@@ -176,7 +176,7 @@ <h1 class="h3 mb-3 fw-normal">看板娘登陆平台</h1>
176
176
177
177
const apiPath = "https://live2d.fghrsh.net/api" ;
178
178
let state = 0 , loading = false , modelInitialized = false ;
179
- const model = new Model ( ) ;
179
+ const model = new Cubism2Model ( ) ;
180
180
const modelId = 1 ;
181
181
let modelTexturesId = 0 ;
182
182
loadModel ( ) ;
You can’t perform that action at this time.
0 commit comments