We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a69674d commit 2634b05Copy full SHA for 2634b05
1 file changed
gdspx.go
@@ -81,7 +81,6 @@ func (p *Game) OnEngineUpdate(delta float64) {
81
}
82
// all these functions is called in main thread
83
p.syncUpdateInput()
84
- p.syncUpdateCamera()
85
p.syncUpdateLogic()
86
p.syncEnginePositions()
87
p.syncUpdateProxy()
@@ -135,13 +134,6 @@ func (p *Game) syncEnginePositions() error {
135
134
return nil
136
137
138
-func (p *Game) syncUpdateCamera() {
139
- isOn, pos := p.camera.getFollowPos()
140
- if isOn {
141
- engine.SyncSetCameraPosition(pos)
142
- }
143
-}
144
-
145
func (p *Game) syncUpdateInput() {
146
p.mousePos = engine.SyncGetMousePos()
147
0 commit comments