-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an empty default constructor to the struct used in a large std::vector. This will skip the construction of each individual element in the vector.
- Loading branch information
1 parent
e3ca118
commit cf554cd
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ class PointCloud | |
|
||
struct Point | ||
{ | ||
Point() noexcept {} | ||
float position[3]; | ||
uint8_t color[3]; | ||
}; | ||
|