Skip to content

Commit

Permalink
Remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
ssthouse committed Oct 17, 2018
1 parent 7ec9d4e commit 30e29e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/GithubViewThree.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ class GithubViewThree {
this.charGeoMap.set(char, textGeo)
this.charWidthMap.set(char, width)
})
console.log(this.charGeoMap)
}

loadFont_() {
Expand Down Expand Up @@ -231,7 +230,7 @@ class GithubViewThree {
if (!this.virtualElement) {
this.virtualElement = document.createElement('svg')
}
this.ballMaterial = new THREE.MeshNormalMaterial({ color: 0x554db6ac })
this.ballMaterial = new THREE.MeshNormalMaterial()
const circles = D3.select(this.virtualElement)
.selectAll('circle')
.data(this.data)
Expand Down Expand Up @@ -261,7 +260,7 @@ class GithubViewThree {
this.virtualElement = document.createElement('svg')
}
const ballMeshList = []
this.ballMaterial = new THREE.MeshNormalMaterial({ color: 0x554db6ac })
this.ballMaterial = new THREE.MeshNormalMaterial()
const circles = D3.select(this.virtualElement)
.selectAll('circle')
.data(this.data)
Expand Down

0 comments on commit 30e29e0

Please sign in to comment.