85f127cb04
Applying the transformation in question has no effect on the winding order. Rewrite that section. While all the examples are correct, clarify the rules for the geometry they use since the winding order varies. Fix up the triangle example code to use front=CCW for clarity (even though it does not matter much since culling is off there). Change-Id: Icb968c76cc9fa918a5608d3c66b4fccd5668175e Reviewed-by: Christian Stromme <christian.stromme@qt.io> |
||
---|---|---|
.. | ||
camera.cpp | ||
camera.h | ||
color_frag.spv | ||
color_phong_frag.spv | ||
color_phong_vert.spv | ||
color_phong.frag | ||
color_phong.vert | ||
color_vert.spv | ||
color.frag | ||
color.vert | ||
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 |