qt5base-lts/examples/vulkan/hellovulkancubes
Edward Welbourne 4690d4efa6 Fix use of qrand/qsrand in an example
Convert an example to use QRandomGenerator::global().
This saves the need for seeding.

At the same time, use continuum random values rather than discrete
ones, to better fit what the example using it is doing.

Change-Id: I0adebaadb2e35832c629e314fda37e60b51f760d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-04-01 14:39:53 +00:00
..
camera.cpp Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
camera.h Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color_frag.spv Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color_phong_frag.spv Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color_phong_vert.spv Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color_phong.frag Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color_phong.vert Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color_vert.spv Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color.frag Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
color.vert Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
hellovulkancubes.pro Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
hellovulkancubes.qrc Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
main.cpp Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
mainwindow.cpp Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
mainwindow.h Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
mesh.cpp Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
mesh.h Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
renderer.cpp Fix use of qrand/qsrand in an example 2019-04-01 14:39:53 +00:00
renderer.h Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
shader.cpp Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
shader.h Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
vulkanwindow.cpp Add the Vulkan cube example 2017-03-29 10:58:06 +00:00
vulkanwindow.h Add the Vulkan cube example 2017-03-29 10:58:06 +00:00