Merge branch 'master' of git.shimatta.de:mhu/gds-render

This commit is contained in:
2018-08-24 16:15:42 +02:00
11 changed files with 153 additions and 52 deletions

View File

@@ -52,6 +52,9 @@ void vector_2d_rotate(struct vector_2d *vec, double angle)
double sin_val, cos_val;
struct vector_2d temp;
if (!vec)
return;
sin_val = sin(angle);
cos_val = cos(angle);