Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Nov 11, 2024
1 parent 2b6a0cb commit d981a1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ruis/render/scene/gltf_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,8 +623,8 @@ utki::shared_ref<ruis::render::vertex_array> gltf_loader::create_vao_with_tangen
const auto& texcoords = std::get<std::vector<ruis::vec2>>(texcoord_0_accessor.get().data);
const auto& normals = std::get<std::vector<ruis::vec3>>(normal_accessor.get().data);

std::vector<ruis::vec3> tangents;
std::vector<ruis::vec3> bitangents;
std::vector<ruis::vec3> tangents; // texture x-axis
std::vector<ruis::vec3> bitangents; // texture y-axis

tangents.resize(total_vertices);
bitangents.resize(total_vertices);
Expand Down

0 comments on commit d981a1b

Please sign in to comment.