Переименование tangent в тангенсную пару
This commit is contained in:
parent
02bcb1bd33
commit
9864653787
18 changed files with 168 additions and 173 deletions
|
@ -1,3 +1,4 @@
|
|||
/*
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
@ -59,7 +60,7 @@ structure_fp32_t* make_structures(const unsigned int amount)
|
|||
);
|
||||
|
||||
bgc_vector3_reset_fp32(&list[i].vector2);
|
||||
*/
|
||||
*//*
|
||||
}
|
||||
|
||||
return list;
|
||||
|
@ -137,23 +138,16 @@ int main()
|
|||
}
|
||||
*/
|
||||
|
||||
//#include <stdio.h>
|
||||
//#include <basic-geometry.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <basic-geometry.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
BgcVector3FP32 my_vector1, my_vector2;
|
||||
BgcVector3FP32 my_vector;
|
||||
|
||||
bgc_vector3_set_values_fp32(-2, 7, 5, &my_vector1);
|
||||
bgc_vector3_set_values_fp32(10, -1, -3, &my_vector2);
|
||||
bgc_vector3_set_values_fp32(-2, 7, 10, &my_vector);
|
||||
|
||||
bgc_vector3_swap_fp32(&my_vector1, &my_vector2);
|
||||
|
||||
printf("Vector #1: x1 = %f, x2 = %f, x3 = %f\n", my_vector1.x1, my_vector1.x2, my_vector1.x3);
|
||||
printf("Vector #2: x1 = %f, x2 = %f, x3 = %f\n", my_vector2.x1, my_vector2.x2, my_vector2.x3);
|
||||
printf("x1 = %f, x2 = %f, x3 = %f\n", my_vector.x1, my_vector.x2, my_vector.x3);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue