Make kSqrtTwoPi const. (#1259)
parent
88850ec2d7
commit
bb380ae947
|
@ -28,7 +28,7 @@ constexpr int kSubpixelScale = 1000;
|
||||||
// Minimum distance between range observation and origin. Otherwise, range
|
// Minimum distance between range observation and origin. Otherwise, range
|
||||||
// observations are discarded.
|
// observations are discarded.
|
||||||
constexpr float kMinRangeMeters = 1e-6f;
|
constexpr float kMinRangeMeters = 1e-6f;
|
||||||
constexpr float kSqrtTwoPi = std::sqrt(2.0 * M_PI);
|
const float kSqrtTwoPi = std::sqrt(2.0 * M_PI);
|
||||||
|
|
||||||
void GrowAsNeeded(const sensor::RangeData& range_data,
|
void GrowAsNeeded(const sensor::RangeData& range_data,
|
||||||
const float truncation_distance, TSDF2D* const tsdf) {
|
const float truncation_distance, TSDF2D* const tsdf) {
|
||||||
|
|
Loading…
Reference in New Issue