Включение позиции и аффинного преобразования в проект для Visual Studio
This commit is contained in:
parent
7175c4148a
commit
3c2b89f369
9 changed files with 191 additions and 12 deletions
|
|
@ -469,10 +469,7 @@ void test_basis_difference_fp64()
|
|||
print_versor_fp64(&turn);
|
||||
}
|
||||
|
||||
typedef union {
|
||||
int si32;
|
||||
float fp32;
|
||||
} uni_number;
|
||||
#include "affine3.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
@ -490,11 +487,11 @@ int main()
|
|||
*/
|
||||
//test_basis_difference_fp64();
|
||||
|
||||
uni_number number;
|
||||
printf("Affine3 performance test: %f\n", test_bgc_affine3_performance(10000000, 10));
|
||||
|
||||
number.fp32 = 1.0f;
|
||||
|
||||
printf("%x\n", number.si32);
|
||||
printf("sizeof(BgcAffine3FP32) = %zu\n", sizeof(BgcAffine3FP32));
|
||||
//printf("offsetof(shift) = %zu\n", offsetof(BgcAffine3FP32, shift));
|
||||
printf("sizeof(BgcMatrix3x3FP32) = %zu\n", sizeof(BgcMatrix3x3FP32));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue