Commit c7ec381d authored by Joe TS Dell's avatar Joe TS Dell
Browse files

up sakis

parent 1edbd765
......@@ -20,6 +20,15 @@ viewer.entities.add({
},
});
viewer.entities.add({
position: Cesium.Cartesian3.fromDegrees(22.4062122, 38.9034077),
billboard: {
image: "../imgs/avatar/sakis1.png",
width: 75, // default: undefined
height: 75, // default: undefined
},
});
viewer.entities.add({
position: Cesium.Cartesian3.fromDegrees(113.9213, 0.7893),
billboard: {
......
......@@ -44,7 +44,7 @@
function spinIt(scene, time) {
var now = Date.now();
var spinRate = 0.05;
var spinRate = 0.01;
var delta = (now - lastNow) / 1000;
lastNow = now;
viewer.scene.camera.rotate(Cesium.Cartesian3.UNIT_Z, spinRate * delta);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment