mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-13 08:58:54 -05:00
Code Cleanup (#2191)
* constexpr const -> constexpr * const char* -> std::string_view
This commit is contained in:
@@ -56,19 +56,19 @@
|
||||
namespace {
|
||||
constexpr int8_t CurrentCacheVersion = 1;
|
||||
|
||||
constexpr const char* _loggerCat = "RenderableGalaxy";
|
||||
constexpr std::string_view _loggerCat = "RenderableGalaxy";
|
||||
|
||||
enum StarRenderingMethod {
|
||||
Points,
|
||||
Billboards
|
||||
};
|
||||
|
||||
constexpr const std::array<const char*, 4> UniformNamesPoints = {
|
||||
constexpr std::array<const char*, 4> UniformNamesPoints = {
|
||||
"modelMatrix", "viewProjectionMatrix", "eyePosition",
|
||||
"opacityCoefficient"
|
||||
};
|
||||
|
||||
constexpr const std::array<const char*, 5> UniformNamesBillboards = {
|
||||
constexpr std::array<const char*, 5> UniformNamesBillboards = {
|
||||
"modelMatrix", "viewProjectionMatrix",
|
||||
"cameraUp", "eyePosition", "psfTexture"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user