1.0.0
This commit is contained in:
parent
d97babc4c8
commit
bb9553fed7
Binary file not shown.
|
After Width: | Height: | Size: 1022 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 490 KiB |
|
|
@ -13,9 +13,10 @@ import skyTexture from './images/sky.jpg';
|
|||
import snowTexture from './images/snow.png';
|
||||
import treeTexture from './images/tree.png';
|
||||
import flagTexture from './images/flag.png';
|
||||
// import htc from './images/htc.png';
|
||||
import htc from './images/htc.png';
|
||||
import lc from './images/lc.jpg';
|
||||
import jyh from './images/jyh.png';
|
||||
import otto from './images/otto.jpg';
|
||||
require('./libs/GLTFLoader.js');
|
||||
import './index.css';
|
||||
|
||||
|
|
@ -180,6 +181,10 @@ export default class Olympic extends React.Component {
|
|||
imges1=lc;
|
||||
}else if(id==1210){
|
||||
imges1=jyh;
|
||||
}else if(id==1){
|
||||
imges1=htc;
|
||||
} else if(id ==5201314){
|
||||
imges1=otto;
|
||||
}
|
||||
// child.material.map = new THREE.TextureLoader().load(flagTexture);
|
||||
child.material.map = new THREE.TextureLoader().load(imges1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue