Home
last modified time | relevance | path

Searched refs:alpha (Results 1 - 2 of 2) sorted by relevance

/applications/standard/app_samples/code/BasicFeature/Native/NdkVulkan/entry/src/main/cpp/render/vulkan/
H A Dvulkan_example.h129 float alpha = 0.0f; member in vkExample::VulkanExample
130 std::vector<Vertex> vertices = {{{std::sin(alpha), 1.0f, -std::cos(alpha)}, {1.0f, 0.0f, 0.0f}},
131 {{-std::sin(alpha), 1.0f, std::cos(alpha)}, {0.0f, 1.0f, 0.0f}},
H A Dvulkan_example.cpp691 alpha += 0.01f; in UpdateVertices()
693 if (alpha > PI) { in UpdateVertices()
694 alpha -= PI; in UpdateVertices()
696 std::vector<Vertex> tempVertices = {{{std::sin(alpha), 1.0f, -std::cos(alpha)}, {1.0f, 0.0f, 0.0f}}, in UpdateVertices()
697 {{-std::sin(alpha), 1.0f, std::cos(alpha)}, {0.0f, 1.0f, 0.0f}}, in UpdateVertices()

Completed in 4 milliseconds