aboutsummaryrefslogtreecommitdiff
path: root/src/GameInitDispose.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-26 00:38:21 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-26 00:38:21 +0900
commit027e856c0f168b6c8c073de7899c8c5254716181 (patch)
tree018e90554243666f8a4e128052c848a8ca0a8800 /src/GameInitDispose.cpp
parent41c669c1978bdf8f7d0bbde0d18d0b7b73a03bc1 (diff)
downloadblackshades-027e856c0f168b6c8c073de7899c8c5254716181.tar.gz
Convert a few linear algebra functions to Zig
Diffstat (limited to 'src/GameInitDispose.cpp')
-rw-r--r--src/GameInitDispose.cpp2
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);
}