old-version-gtk3
Zwarf 2020-08-23 18:28:32 +02:00
rodzic b99955205a
commit 36dfa1b872
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -1,5 +1,9 @@
#include <plot.h>
/*TODO
* Plot Circle
*/
double plot_calc_coordinate_x (double a1, double a2, float alpha, float beta) {
/* coordinate transformation to transform 3D coordinates into 2D coordinates */
double x = (sin(beta)*a1-sin(alpha)*a2)/(cos(alpha)*sin(beta)-sin(alpha)*cos(beta));