Searched refs:angleStep (Results 1 - 5 of 5) sorted by relevance
/third_party/skia/third_party/externals/angle2/util/ |
H A D | geometry_utils.cpp | 30 float angleStep = static_cast<float>(2.0f * M_PI) / sliceCount; in CreateSphereGeometry() local 38 Vector3 direction(sinf(angleStep * i) * sinf(angleStep * j), cosf(angleStep * i), in CreateSphereGeometry() 39 sinf(angleStep * i) * cosf(angleStep * j)); in CreateSphereGeometry()
|
/third_party/skia/gm/ |
H A D | polygonoffset.cpp | 27 float angleStep = 360.0f / n, angle = 0.0f; in create_ngon() local 29 angle = angleStep/2.0f; in create_ngon() 33 angleStep = -angleStep; in create_ngon() 39 angle += angleStep; in create_ngon()
|
H A D | convex_all_line_paths.cpp | 25 float angleStep = 360.0f / n, angle = 0.0f; in create_ngon() local 27 angle = angleStep/2.0f; in create_ngon() 33 angle += angleStep; in create_ngon()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 513 const float angleStep = (2.0f * DE_PI) / numSteps; in genVerticesShapes() local 515 for (float a = 0.0f; a <= 2.0f * DE_PI; a += angleStep) in genVerticesShapes() 518 vertices.push_back(PositionColor(Vec4(0.1f * deFloatCos(a - angleStep), 0.1f * deFloatSin(a - angleStep), z, 1.0f), color)); in genVerticesShapes() 519 vertices.push_back(PositionColor(Vec4(0.1f * deFloatCos(a + angleStep), 0.1f * deFloatSin(a + angleStep), z, 1.0f), color)); in genVerticesShapes()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 512 const float angleStep = (2.0f * DE_PI) / numSteps; in genVerticesShapes() local 514 for (float a = 0.0f; a <= 2.0f * DE_PI; a += angleStep) in genVerticesShapes() 517 vertices.push_back(PositionColor(Vec4(0.1f * deFloatCos(a - angleStep), 0.1f * deFloatSin(a - angleStep), z, 1.0f), color)); in genVerticesShapes() 518 vertices.push_back(PositionColor(Vec4(0.1f * deFloatCos(a + angleStep), 0.1f * deFloatSin(a + angleStep), z, 1.0f), color)); in genVerticesShapes()
|
Completed in 13 milliseconds