Skip to content

Commit

Permalink
Merge pull request #4 from zhangxaochen/master
Browse files Browse the repository at this point in the history
add user-provided default constructor to support clang compiler.
  • Loading branch information
robmaier authored Mar 18, 2019
2 parents 3fcc847 + 5fb8508 commit 3f94bc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libintrinsic3d/include/nv/sparse_voxel_grid.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ namespace nv
*/
struct Voxel
{
Voxel(){}
float sdf = 0.0f;
float weight = 0.0f;
Vec3b color = Vec3b::Zero();
Expand All @@ -67,6 +68,7 @@ namespace nv
*/
struct VoxelSBR
{
VoxelSBR(){}
double sdf = 0.0;
float weight = 0.0f;
Vec3b color = Vec3b::Zero();
Expand Down

0 comments on commit 3f94bc5

Please sign in to comment.