Skip to content

Commit

Permalink
fix add_color (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 authored May 29, 2024
1 parent d63014e commit 4d6fb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/glk/pointcloud_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void PointCloudBuffer::add_normals(const Eigen::Matrix<double, N, 1>* normals, i

template <typename Scalar, typename Allocator>
void PointCloudBuffer::add_color(const std::vector<Eigen::Matrix<Scalar, 4, 1>, Allocator>& colors) {
add_color(colors[0].data(), sizeof(Eigen::Vector4f), colors.size());
add_color(colors.data(), colors.size());
}

template <typename Scalar, int D, typename Allocator>
Expand Down

0 comments on commit 4d6fb69

Please sign in to comment.