mirror of https://github.com/CesiumGS/cesium.git
14 lines
348 B
JavaScript
14 lines
348 B
JavaScript
|
|
/**
|
||
|
|
* 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;
|
||
|
|
}
|
||
|
|
export default KmlCamera;
|