cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
18 lines (16 loc) • 460 B
JavaScript
define([], function() {
'use strict';
/**
* Representation of <Camera> from KML
* @alias KmlCamera
* @constructor
*
* @param {Cartesian3} position camera position
* @param {HeadingPitchRoll} headingPitchRoll camera orientation
*/
function KmlCamera(position, headingPitchRoll) {
this.position = position;
this.headingPitchRoll = headingPitchRoll;
}
return KmlCamera;
});