Skip to content

Commit

Permalink
remove unused Trauma field
Browse files Browse the repository at this point in the history
  • Loading branch information
setanarut committed May 9, 2024
1 parent 19ff422 commit b5c2147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func (v vec2) Mult(s float64) vec2 {
}

type CameraShakeOptions struct {
Trauma, TimeScale, MaxShakeAngle, ShakeSizeX, ShakeSizeY, Decay float64
TimeScale, MaxShakeAngle, ShakeSizeX, ShakeSizeY, Decay float64
}

func DefaultCameraShakeOptions() CameraShakeOptions {
Expand Down
4 changes: 2 additions & 2 deletions examples/demo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ func (oyn *Game) Layout(w, h int) (int, int) {

func main() {
// minf, maxf := math.SmallestNonzeroFloat64, math.MaxFloat64
minf, maxf := -5000.0, 5000.0
enemyCount := 2000
minf, maxf := -2000.0, 2000.0
enemyCount := 500
enemySize := 64
w, h := 854, 480

Expand Down

0 comments on commit b5c2147

Please sign in to comment.