Skip to content

Commit

Permalink
#642 Fixed typo in variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrocortesark committed Oct 22, 2024
1 parent 196d557 commit ca509eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/bnd_pointcloud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ BND_PointCloud* BND_PointCloud::CreateFromThreejsJSON(BND_DICT json)
const int normal_count = normal_array.size() / 3;
pc->m_N.SetCapacity(normal_count);
pc->m_N.SetCount(normal_count);
memcpy(mesh->m_N.Array(), normal_array.data(), sizeof(double) * normal_array.size());
memcpy(pc->m_N.Array(), normal_array.data(), sizeof(double) * normal_array.size());

const int color_count = color_array.size() / 3;
pc->m_C.SetCapacity(color_count);
Expand Down

0 comments on commit ca509eb

Please sign in to comment.