Searched refs:randTriples (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | MatrixTest.cpp | 703 SkPoint3 randTriples[kTripleCount]; in test_matrix_homogeneous() local 705 randTriples[i].fX = rand.nextRangeF(-3000.f, 3000.f); in test_matrix_homogeneous() 706 randTriples[i].fY = rand.nextRangeF(-3000.f, 3000.f); in test_matrix_homogeneous() 707 randTriples[i].fZ = rand.nextRangeF(-3000.f, 3000.f); in test_matrix_homogeneous() 721 mat.mapHomogeneousPoints(dst, randTriples, kTripleCount); in test_matrix_homogeneous() 722 REPORTER_ASSERT(reporter, point3_array_nearly_equal_relative(randTriples, dst, kTripleCount)); in test_matrix_homogeneous() 730 mat.mapHomogeneousPoints(dst, randTriples, kTripleCount); in test_matrix_homogeneous() 754 SkPoint3 src = {randTriples[0].fX, randTriples[0].fY, 1.f}; in test_matrix_homogeneous() 768 SkPoint3 src = {randTriples[0].fX, randTriples[0].fY, 1.f}; in test_matrix_homogeneous() 784 SkPoint3 src = {randTriples[0].fX, randTriples[0].fY, 1.f}; in test_matrix_homogeneous() [all …]
|
/external/skqp/tests/ |
D | MatrixTest.cpp | 703 SkPoint3 randTriples[kTripleCount]; in test_matrix_homogeneous() local 705 randTriples[i].fX = rand.nextRangeF(-3000.f, 3000.f); in test_matrix_homogeneous() 706 randTriples[i].fY = rand.nextRangeF(-3000.f, 3000.f); in test_matrix_homogeneous() 707 randTriples[i].fZ = rand.nextRangeF(-3000.f, 3000.f); in test_matrix_homogeneous() 721 mat.mapHomogeneousPoints(dst, randTriples, kTripleCount); in test_matrix_homogeneous() 722 REPORTER_ASSERT(reporter, point3_array_nearly_equal_relative(randTriples, dst, kTripleCount)); in test_matrix_homogeneous() 730 mat.mapHomogeneousPoints(dst, randTriples, kTripleCount); in test_matrix_homogeneous() 754 SkPoint3 src = {randTriples[0].fX, randTriples[0].fY, 1.f}; in test_matrix_homogeneous() 768 SkPoint3 src = {randTriples[0].fX, randTriples[0].fY, 1.f}; in test_matrix_homogeneous() 784 SkPoint3 src = {randTriples[0].fX, randTriples[0].fY, 1.f}; in test_matrix_homogeneous() [all …]
|