Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Commit b2e89f8

Browse files
committedApr 11, 2020
add angleY, rename angle to angleX (breaking change)
see #24
1 parent 7170951 commit b2e89f8

12 files changed

+550
-456
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ To run tests [Git LFS](https://git-lfs.github.com) is required.
206206
```sh
207207
git submodule init
208208
git submodule update
209-
pushd test/cs-demos && git lfs pull && popd
209+
pushd test/cs-demos && git lfs pull -I '*' && popd
210210
go test ./...
211211
```
212212

‎csminify.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ func (m *minifier) snapshot() rep.Snapshot {
159159
Armor: pl.Armor,
160160
FlashDuration: float32(roundTo(float64(pl.FlashDuration), 0.1)), // Round to nearest 0.1 sec - saves space in JSON
161161
Positions: []rep.Point{r3VectorToPoint(pl.Position)},
162-
Angle: int(pl.ViewDirectionX),
162+
AngleX: int(pl.ViewDirectionX),
163+
AngleY: int(pl.ViewDirectionY),
163164
}
164165

165166
// FIXME: Smoothify Positions

0 commit comments

Comments
 (0)
This repository has been archived.