Lines Matching refs:ans
319 const MtxFx33 ans = { in test_FX_MTX33() local
343 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_Identity33"); in test_FX_MTX33()
358 const MtxFx33 ans = { in test_FX_MTX33() local
364 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_Transpose33"); in test_FX_MTX33()
368 const MtxFx33 ans = { in test_FX_MTX33() local
374 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_Scale33"); in test_FX_MTX33()
380 MtxFx33 ans = { in test_FX_MTX33() local
390 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_RotX33/MTX_Concat33"); in test_FX_MTX33()
396 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_RotY33/MTX_Concat33"); in test_FX_MTX33()
402 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_RotZ33/MTX_Concat33"); in test_FX_MTX33()
406 MtxFx33 ans, m; in test_FX_MTX33() local
411 MTX_RotX33(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX33()
413 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_RotAxis33"); in test_FX_MTX33()
415 MTX_RotY33(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX33()
417 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_RotAxis33"); in test_FX_MTX33()
419 MTX_RotZ33(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX33()
421 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_RotAxis33"); in test_FX_MTX33()
424 MtxFx33 ans, m; in test_FX_MTX33() local
427 MTX_RotX33(&ans, FX32_ONE, 0); in test_FX_MTX33()
428 flag = MTX_Inverse33(&ans, &m); in test_FX_MTX33()
430 MTX_RotX33(&ans, -FX32_ONE, 0); in test_FX_MTX33()
431 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
433 MTX_RotY33(&ans, FX32_ONE, 0); in test_FX_MTX33()
434 flag = MTX_Inverse33(&ans, &m); in test_FX_MTX33()
436 MTX_RotY33(&ans, -FX32_ONE, 0); in test_FX_MTX33()
437 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
439 MTX_RotZ33(&ans, FX32_ONE, 0); in test_FX_MTX33()
440 flag = MTX_Inverse33(&ans, &m); in test_FX_MTX33()
442 MTX_RotZ33(&ans, -FX32_ONE, 0); in test_FX_MTX33()
443 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
453 MtxFx33 ans = { in test_FX_MTX33() local
460 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
470 VecFx32 ans = { FX32_ONE * 12, FX32_ONE * 15, FX32_ONE * 18 }; in test_FX_MTX33() local
472 SDK_ASSERTMSG(vec.x == ans.x && vec.y == ans.y && vec.z == ans.z, "MTX_MultVec33"); in test_FX_MTX33()
523 const MtxFx43 ans = { in test_FX_MTX43() local
530 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_Transpose43"); in test_FX_MTX43()
534 const MtxFx43 ans = { in test_FX_MTX43() local
541 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_Scale43"); in test_FX_MTX43()
547 MtxFx43 ans = { in test_FX_MTX43() local
558 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_RotX43/MTX_Concat43"); in test_FX_MTX43()
564 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_RotY43/MTX_Concat43"); in test_FX_MTX43()
570 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_RotZ43/MTX_Concat43"); in test_FX_MTX43()
573 MtxFx43 ans, m; in test_FX_MTX43() local
578 MTX_RotX43(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX43()
580 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_RotAxis43"); in test_FX_MTX43()
582 MTX_RotY43(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX43()
584 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_RotAxis43"); in test_FX_MTX43()
586 MTX_RotZ43(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX43()
588 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_RotAxis43"); in test_FX_MTX43()
592 MtxFx43 ans, m; in test_FX_MTX43() local
595 MTX_RotX43(&ans, FX32_ONE, 0); in test_FX_MTX43()
596 flag = MTX_Inverse43(&ans, &m); in test_FX_MTX43()
598 MTX_RotX43(&ans, -FX32_ONE, 0); in test_FX_MTX43()
599 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
601 MTX_RotY43(&ans, FX32_ONE, 0); in test_FX_MTX43()
602 flag = MTX_Inverse43(&ans, &m); in test_FX_MTX43()
604 MTX_RotY43(&ans, -FX32_ONE, 0); in test_FX_MTX43()
605 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
607 MTX_RotZ43(&ans, FX32_ONE, 0); in test_FX_MTX43()
608 flag = MTX_Inverse43(&ans, &m); in test_FX_MTX43()
610 MTX_RotZ43(&ans, -FX32_ONE, 0); in test_FX_MTX43()
611 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
622 MtxFx43 ans = { in test_FX_MTX43() local
630 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
680 const MtxFx44 ans = { in test_FX_MTX44() local
687 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_Transpose44"); in test_FX_MTX44()
691 const MtxFx44 ans = { in test_FX_MTX44() local
698 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_Scale44"); in test_FX_MTX44()
704 MtxFx44 ans = { in test_FX_MTX44() local
716 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_RotX44/MTX_Concat44"); in test_FX_MTX44()
722 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_RotY44/MTX_Concat44"); in test_FX_MTX44()
728 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_RotZ44/MTX_Concat44"); in test_FX_MTX44()
731 MtxFx44 ans, m; in test_FX_MTX44() local
736 MTX_RotX44(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX44()
738 SDK_ASSERTMSG(equal_mtx44(&ans, &m), "MTX_RotAxis44"); in test_FX_MTX44()
740 MTX_RotY44(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX44()
742 SDK_ASSERTMSG(equal_mtx44(&ans, &m), "MTX_RotAxis44"); in test_FX_MTX44()
744 MTX_RotZ44(&ans, FX32_ONE, 0); // + 90 in test_FX_MTX44()
746 SDK_ASSERTMSG(equal_mtx44(&ans, &m), "MTX_RotAxis44"); in test_FX_MTX44()