mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Declare PropertyInfo as constexpr, rather than const
This commit is contained in:
@@ -31,37 +31,37 @@
|
||||
#include <openspace/util/updatestructures.h>
|
||||
|
||||
namespace {
|
||||
const openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo SizeInfo = {
|
||||
"Size",
|
||||
"Size",
|
||||
"" // @TODO Missing documentation
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo ScalingExponentInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo ScalingExponentInfo = {
|
||||
"ScalingExponent",
|
||||
"Scaling Exponent",
|
||||
"" // @TODO Missing documentation
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo StepSizeInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo StepSizeInfo = {
|
||||
"StepSize",
|
||||
"Step Size",
|
||||
"" // @TODO Missing documentation
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo TranslationInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo TranslationInfo = {
|
||||
"Translation",
|
||||
"Translation",
|
||||
"" // @TODO Missing documentation
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo RotationInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo RotationInfo = {
|
||||
"Rotation",
|
||||
"Euler rotation",
|
||||
"" // @TODO Missing documentation
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo ColorInfo = {
|
||||
"Color",
|
||||
"Color",
|
||||
"" // @TODO Missing documentation
|
||||
|
||||
Reference in New Issue
Block a user