Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
njam committed Mar 2, 2024
1 parent 89cb6e7 commit 7b4510f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/citygml/CityNode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class CityNode {
/**
* @returns {Cesium.Cartesian3[]}
*/
getTextAsCoordinatesCartesian() {
getTextAsCoordinatesCartesian () {
return this.getTextAsCoordinatesCartographic().map((point) => {
return Cesium.Cartographic.toCartesian(point)
})
Expand All @@ -158,7 +158,7 @@ class CityNode {
/**
* @returns {Cesium.Cartographic}
*/
getTextAsCoordinates1Cartographic() {
getTextAsCoordinates1Cartographic () {
let coords = this.getTextAsCoordinatesCartographic()
if (coords.length !== 1) {
throw new Error('Expected 1 coordinates, but found ' + coords.length)
Expand All @@ -169,7 +169,7 @@ class CityNode {
/**
* @returns {Cesium.Cartesian3}
*/
getTextAsCoordinates1Cartesian() {
getTextAsCoordinates1Cartesian () {
let point = this.getTextAsCoordinates1Cartographic()
return Cesium.Cartographic.toCartesian(point)
}
Expand Down

0 comments on commit 7b4510f

Please sign in to comment.