-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change weighting fuction, fix linear_least_square_solver, refactor va…
…riable names
- Loading branch information
Showing
4 changed files
with
43 additions
and
51 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 |
---|---|---|
@@ -1,17 +1,14 @@ | ||
#pragma once | ||
|
||
#include <vector> | ||
#include <cstddef> | ||
|
||
namespace HDRI { | ||
|
||
class debevec_weight final { | ||
public: | ||
debevec_weight(); | ||
[[nodiscard]] double get_weight(const int index) const noexcept; | ||
[[nodiscard]] std::size_t get_size() const noexcept; | ||
|
||
private: | ||
std::vector<std::uint8_t> table; | ||
debevec_weight() = delete; | ||
[[nodiscard]] static double get_weight(const int index) noexcept; | ||
[[nodiscard]] static std::size_t get_size() noexcept; | ||
}; | ||
|
||
} // namespace HDRI |
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