Skip to content

Commit c0daf64

Browse files
hmm
1 parent 12b2d15 commit c0daf64

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/include/pcl/impl/point_types.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,11 @@ namespace pcl
210210

211211
#define PCL_ADD_UNION_POINT4D \
212212
union EIGEN_ALIGN16 { \
213-
float data[4]; \
213+
float data[4] = {0.0, 0.0, 0.0, 1.0}; \
214214
struct { \
215215
float x; \
216216
float y; \
217217
float z; \
218-
/* ensure last homogeneous component is 1 for affine transformations */ \
219-
float _w { 1 }; \
220218
}; \
221219
};
222220

0 commit comments

Comments
 (0)