kopia lustrzana https://github.com/miguelvaca/vk3cpu
Update antenna.html
rodzic
6f84f9994b
commit
865e01e446
|
@ -113,7 +113,7 @@
|
|||
}
|
||||
},
|
||||
};
|
||||
this.current_type = this.antenna_types['order'][0];
|
||||
this.current_type = this.antenna_types['order'][3];
|
||||
//console.log(this.current_type);
|
||||
}
|
||||
setAntennaType(antenna_type) {
|
||||
|
@ -214,7 +214,7 @@
|
|||
mode: true,
|
||||
axis: true,
|
||||
ground: true,
|
||||
height: 0.0,
|
||||
height: 50.0,
|
||||
w: "...", // dummy value, only type is important
|
||||
};
|
||||
|
||||
|
@ -246,7 +246,7 @@
|
|||
|
||||
// Add an enable axes-helper button:
|
||||
gui.add(parameters, 'height', 0.0, 500.0)
|
||||
.setValue(true)
|
||||
.setValue(parameters['height'])
|
||||
.onChange(function(value){
|
||||
//console.log(current_antenna_object['position']);
|
||||
current_antenna_object['position'].y = value;
|
||||
|
@ -304,6 +304,7 @@
|
|||
V = math.multiply(impedance, I);
|
||||
|
||||
current_antenna_object = ant.getThreeObject3D();
|
||||
current_antenna_object['position'].y = parameters['height'];
|
||||
scene.add(current_antenna_object);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue