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> |
||
|---|---|---|
| .. | ||
| camera.cpp | ||
| camera.h | ||
| color.frag | ||
| color.vert | ||
| color_frag.spv | ||
| color_phong.frag | ||
| color_phong.vert | ||
| color_phong_frag.spv | ||
| color_phong_vert.spv | ||
| color_vert.spv | ||
| hellovulkancubes.pro | ||
| hellovulkancubes.qrc | ||
| main.cpp | ||
| mainwindow.cpp | ||
| mainwindow.h | ||
| mesh.cpp | ||
| mesh.h | ||
| renderer.cpp | ||
| renderer.h | ||
| shader.cpp | ||
| shader.h | ||
| vulkanwindow.cpp | ||
| vulkanwindow.h | ||