diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-23 17:46:12 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-09-23 17:46:12 +0300 |
| commit | 7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0 (patch) | |
| tree | 0c57a12442ec0b8e90089eddf44af78a01e8882a /pkg/messages/types/svcFixAngle.go | |
| parent | feat: TONS of user message parsing (#10) (diff) | |
| download | sdp.go-7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0.tar.gz sdp.go-7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0.tar.bz2 sdp.go-7745f2dcaa2c409c19c6e79bf1eaa2bc41444be0.zip | |
lp parser: only get portal count and cm ticks
Diffstat (limited to 'pkg/messages/types/svcFixAngle.go')
| -rw-r--r-- | pkg/messages/types/svcFixAngle.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkg/messages/types/svcFixAngle.go b/pkg/messages/types/svcFixAngle.go index b79c02d..f00c239 100644 --- a/pkg/messages/types/svcFixAngle.go +++ b/pkg/messages/types/svcFixAngle.go | |||
| @@ -2,7 +2,6 @@ package messages | |||
| 2 | 2 | ||
| 3 | import ( | 3 | import ( |
| 4 | "github.com/pektezol/bitreader" | 4 | "github.com/pektezol/bitreader" |
| 5 | "github.com/pektezol/demoparser/pkg/writer" | ||
| 6 | ) | 5 | ) |
| 7 | 6 | ||
| 8 | type SvcFixAngle struct { | 7 | type SvcFixAngle struct { |
| @@ -25,9 +24,6 @@ func ParseSvcFixAngle(reader *bitreader.Reader) SvcFixAngle { | |||
| 25 | Z: float32(reader.TryReadBits(16)), | 24 | Z: float32(reader.TryReadBits(16)), |
| 26 | }, | 25 | }, |
| 27 | } | 26 | } |
| 28 | writer.TempAppendLine("\t\tRelative: %t", svcFixAngle.Relative) | 27 | |
| 29 | writer.TempAppendLine("\t\tX: %f", svcFixAngle.Angle.X) | ||
| 30 | writer.TempAppendLine("\t\tY: %f", svcFixAngle.Angle.Y) | ||
| 31 | writer.TempAppendLine("\t\tZ: %f", svcFixAngle.Angle.Z) | ||
| 32 | return svcFixAngle | 28 | return svcFixAngle |
| 33 | } | 29 | } |