Merge branch 'dev' into python-renderer
This commit is contained in:
commit
22efe4f8ca
@ -30,7 +30,7 @@ Development is done with the following library versions:
|
|||||||
|
|
||||||
| Cairographics | GLib2 | GTK3 |
|
| Cairographics | GLib2 | GTK3 |
|
||||||
| ------------- | ---------- | --------- |
|
| ------------- | ---------- | --------- |
|
||||||
| 1.17.3 | 2.60.6-1 | 3.24.10-1 |
|
| 1.17.2 | 2.64.2 | 3.24.18 |
|
||||||
|
|
||||||
@section comp-instr Compilation Instructions
|
@section comp-instr Compilation Instructions
|
||||||
@subsection linux-build General Linux Build Instruction
|
@subsection linux-build General Linux Build Instruction
|
||||||
@ -47,7 +47,7 @@ Once cmake has finished, type
|
|||||||
make
|
make
|
||||||
@endcode
|
@endcode
|
||||||
to build the program and
|
to build the program and
|
||||||
|
|
||||||
@code
|
@code
|
||||||
make documentation
|
make documentation
|
||||||
@endcode
|
@endcode
|
||||||
@ -59,7 +59,7 @@ The subfolder 'AUR' contains a PKGBUILD file to build an Archlinux/Pacman packag
|
|||||||
|
|
||||||
@subsection comp-warnings Compiler Warnings
|
@subsection comp-warnings Compiler Warnings
|
||||||
|
|
||||||
The compiler will throw the following warnings. Compiled with GCC 8.2.1.
|
The compiler will throw the following warnings. Compiled with GCC 9.3.0.
|
||||||
|
|
||||||
| Warning | Assessment |
|
| Warning | Assessment |
|
||||||
| ------- | ---------- |
|
| ------- | ---------- |
|
||||||
|
@ -65,7 +65,7 @@ void vector_2d_rotate(struct vector_2d *vec, double angle)
|
|||||||
sin_val = sin(angle);
|
sin_val = sin(angle);
|
||||||
cos_val = cos(angle);
|
cos_val = cos(angle);
|
||||||
|
|
||||||
vector_2d_copy(&temp, vec);
|
(void)vector_2d_copy(&temp, vec);
|
||||||
|
|
||||||
/* Apply rotation matrix */
|
/* Apply rotation matrix */
|
||||||
vec->x = (cos_val * temp.x) - (sin_val * temp.y);
|
vec->x = (cos_val * temp.x) - (sin_val * temp.y);
|
||||||
|
Loading…
Reference in New Issue
Block a user