Skip to content

Commit a6faf04

Browse files
authored
common: fix range info in ViewDirectionY comment (270 to 90 deg)
1 parent 423ddb7 commit a6faf04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/demoinfocs/common/player.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func (p *Player) ViewDirectionX() float32 {
258258
return getFloat(p.Entity, "m_angEyeAngles[1]")
259259
}
260260

261-
// ViewDirectionY returns the Pitch value in degrees, -90 to 90 (-90=270).
261+
// ViewDirectionY returns the Pitch value in degrees, 270 to 90 (270=-90).
262262
func (p *Player) ViewDirectionY() float32 {
263263
return getFloat(p.Entity, "m_angEyeAngles[0]")
264264
}

0 commit comments

Comments
 (0)