Searched refs:sextant (Results 1 – 2 of 2) sorted by relevance
/external/deqp/modules/gles2/functional/ |
D | es2fShaderAlgorithmTests.cpp | 195 int sextant = int(H); in init() 196 float fract = H - float(sextant); in init() 200 if (sextant == 0) rgb = Vec3(v, mid1, m); in init() 201 else if (sextant == 1) rgb = Vec3(mid2, v, m); in init() 202 else if (sextant == 2) rgb = Vec3(m, v, mid1); in init() 203 else if (sextant == 3) rgb = Vec3(m, mid2, v); in init() 204 else if (sextant == 4) rgb = Vec3(mid1, m, v); in init()
|
/external/skia/src/animator/ |
D | SkDrawColor.cpp | 72 int sextant = SkScalarFloorToInt(hue / 60); in HSV_to_RGB() local 73 SkScalar fraction = hue / 60 - SkIntToScalar(sextant); in HSV_to_RGB() 78 switch (sextant % 6) { in HSV_to_RGB()
|