Rainbow trianglegit add .

This commit is contained in:
2026-02-20 20:24:42 +00:00
parent b55769bbf2
commit 253fd3006a
10 changed files with 21 additions and 31 deletions

View File

@@ -26,9 +26,9 @@ namespace cve {
void FirstApp::loadModels() {
std::vector<CveModel::Vertex> verticies {
{{0.0f, -0.5f}},
{{0.5f, 0.5f}},
{{-0.5f, 0.5f}}
{{0.0f, -0.5f}, {1.0f, 0.0f, 0.0f}},
{{0.5f, 0.5f}, {0.0f, 1.0f, 0.0f}},
{{-0.5f, 0.5f}, {0.0f, 0.0f, 1.0f}}
};
cveModel = std::make_unique<CveModel>(cveDevice, verticies);