aboutsummaryrefslogtreecommitdiff
path: root/musw.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2021-08-01 15:11:30 +0000
committerrodri <rgl@antares-labs.eu>2021-08-01 15:11:30 +0000
commit75dfc00c40c6d811143b3dfaca865e3caa48db68 (patch)
tree11f062c74ec8de723952550410edda44eb7a2cb3 /musw.c
parent7ed124593ebda443fc4d0f1439d1fd8dc602ce72 (diff)
downloadmusw-75dfc00c40c6d811143b3dfaca865e3caa48db68.tar.gz
musw-75dfc00c40c6d811143b3dfaca865e3caa48db68.tar.bz2
musw-75dfc00c40c6d811143b3dfaca865e3caa48db68.zip
randomly position the ships, facing each other.
Diffstat (limited to 'musw.c')
-rw-r--r--musw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/musw.c b/musw.c
index 6b379a9..84bf4b9 100644
--- a/musw.c
+++ b/musw.c
@@ -124,7 +124,7 @@ drawship(Ship *ship, Image *dst)
0, 0, 1
}, R = {
cos(ship->θ), -sin(ship->θ), 0,
- sin(ship->θ), cos(ship->θ), 0,
+ sin(ship->θ), cos(ship->θ), 0,
0, 0, 1
};