126 {
130
131 static const struct {
137 { 0.0f, 0.0f, 0.0f, 0.0f },
139 { 1.0e-37f, 1.0e-37f, 1.0e-37f, 0.0f },
140 { 3.4e38f, 0.0f, 0.0f, 3.4e38f }
141 };
142
143 for (
size_t i = 0; i < std::size(
gRec); ++i) {
146 }
147}
static const struct @223 gRec[]
static void test_ops(skiatest::Reporter *reporter)
static void test_dot(skiatest::Reporter *reporter)
static void test_eq_ops(skiatest::Reporter *reporter)
static void test_length(skiatest::Reporter *reporter, SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen)
static void test_normalize(skiatest::Reporter *reporter, SkScalar x, SkScalar y, SkScalar z, SkScalar expectedLen)
#define SK_ScalarRoot2Over2