From d981a1bbe7cc7dc0cf2e642e13915e3e40e9f15b Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Mon, 11 Nov 2024 14:35:50 +0200 Subject: [PATCH] comments --- src/ruis/render/scene/gltf_loader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ruis/render/scene/gltf_loader.cpp b/src/ruis/render/scene/gltf_loader.cpp index fe45007..68982b7 100644 --- a/src/ruis/render/scene/gltf_loader.cpp +++ b/src/ruis/render/scene/gltf_loader.cpp @@ -623,8 +623,8 @@ utki::shared_ref gltf_loader::create_vao_with_tangen const auto& texcoords = std::get>(texcoord_0_accessor.get().data); const auto& normals = std::get>(normal_accessor.get().data); - std::vector tangents; - std::vector bitangents; + std::vector tangents; // texture x-axis + std::vector bitangents; // texture y-axis tangents.resize(total_vertices); bitangents.resize(total_vertices);