diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-26 00:38:21 +0900 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-26 00:38:21 +0900 |
| commit | 027e856c0f168b6c8c073de7899c8c5254716181 (patch) | |
| tree | 018e90554243666f8a4e128052c848a8ca0a8800 /src/GameInitDispose.cpp | |
| parent | 41c669c1978bdf8f7d0bbde0d18d0b7b73a03bc1 (diff) | |
| download | blackshades-027e856c0f168b6c8c073de7899c8c5254716181.tar.gz | |
Convert a few linear algebra functions to Zig
Diffstat (limited to 'src/GameInitDispose.cpp')
| -rw-r--r-- | src/GameInitDispose.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GameInitDispose.cpp b/src/GameInitDispose.cpp index d31829b..0a21275 100644 --- a/src/GameInitDispose.cpp +++ b/src/GameInitDispose.cpp @@ -242,7 +242,7 @@ void initGame(Game* game) point0.z = boundingscale; for (int i = 1; i < 8; ++i) - game->boundingpoints[i] = DoRotation(point0, + game->boundingpoints[i] = rotate(point0, 0, i * 360 / 7, 0); } |
