|  | @@ -155,9 +155,12 @@ export default {
 | 
	
		
			
				|  |  |  				texture.repeat.set(scaleX, scaleY);
 | 
	
		
			
				|  |  |  				
 | 
	
		
			
				|  |  |  				// let geometry = new THREE.PlaneGeometry(obj.spaceWidth/100, obj.spaceHeight/100);
 | 
	
		
			
				|  |  | -				let geometry = new THREE.BoxGeometry(obj.spaceWidth/100,0.1, obj.spaceHeight/100);
 | 
	
		
			
				|  |  | +				// let material = new THREE.MeshBasicMaterial({ map: texture });
 | 
	
		
			
				|  |  | +				// let cube = new THREE.Mesh(geometry, material);
 | 
	
		
			
				|  |  | +				let geometry = new THREE.BoxGeometry(obj.spaceWidth/100, 0.1, obj.spaceHeight/100);
 | 
	
		
			
				|  |  | +				let colorMaterial = new THREE.MeshBasicMaterial({color: 0x626F44}); // 创建纯色材质对象
 | 
	
		
			
				|  |  |  				let material = new THREE.MeshBasicMaterial({ map: texture });
 | 
	
		
			
				|  |  | -				let cube = new THREE.Mesh(geometry, material);
 | 
	
		
			
				|  |  | +				let cube = new THREE.Mesh(geometry, [colorMaterial, colorMaterial, material, colorMaterial, colorMaterial, colorMaterial]); // 使用 BoxGeometry 和纯色材质创建 Mesh 对象
 | 
	
		
			
				|  |  |  				
 | 
	
		
			
				|  |  |  				cube.name = "地板";
 | 
	
		
			
				|  |  |  				cube.userType = "mesh";
 |