We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94f1dc1 commit f95510bCopy full SHA for f95510b
1 file changed
examples/obj_sticher/obj_sticher.cc
@@ -112,7 +112,7 @@ StichObjs(
112
normal_idx_offset += attributes[i].normals.size() / 3;
113
std::copy(attributes[i].texcoords.begin(), attributes[i].texcoords.end(), out_attribute.texcoords.begin() + texcoord_idx_offset * 2);
114
texcoord_idx_offset += attributes[i].texcoords.size() / 2;
115
- std::copy(attributes[i].colors.begin(), attributes[i].colors.end(), out_attribute.colors.begin() + color_idx_offset * 3);
+ std::copy(attributes[i].colors.begin(), attributes[i].colors.end(), out_attribute.colors.begin() + color_idx_offset);
116
color_idx_offset += attributes[i].colors.size();
117
}
118
0 commit comments