修改
This commit is contained in:
@ -5,7 +5,7 @@ class Corridor extends Base {
|
||||
// /**
|
||||
// * @constructor
|
||||
// * @description 道路
|
||||
// * @param sdk
|
||||
// * @param sdk
|
||||
// * @param options {object} 属性
|
||||
// * @param options.name{string} 名称
|
||||
// * @param options.image{string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement} 指定 Image、URL、Canvas 或 Video 的属性
|
||||
@ -67,7 +67,7 @@ class Corridor extends Base {
|
||||
// material: new Cesium.ImageMaterialProperty({
|
||||
// image: this.options.image,
|
||||
// repeat: new Cesium.Cartesian2(100, 1.0),
|
||||
// color: Cesium.Color.TOMATO
|
||||
// color: Cesium.Color.TOMATO
|
||||
// })
|
||||
// }
|
||||
// });
|
||||
@ -217,10 +217,10 @@ class Corridor extends Base {
|
||||
let aa = 0
|
||||
|
||||
const shader = `
|
||||
uniform sampler2D image;
|
||||
uniform sampler2D image;
|
||||
uniform vec4 color;
|
||||
uniform vec2 repeat;
|
||||
|
||||
|
||||
czm_material czm_getMaterial(czm_materialInput materialInput){
|
||||
czm_material material=czm_getDefaultMaterial(materialInput);
|
||||
mat2 rotationMatrix = mat2(cos(radians(-rotate)), sin(radians(-rotate)), -sin(radians(-rotate)), cos(radians(-rotate)));
|
||||
|
Reference in New Issue
Block a user