mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 12:59:07 -06:00
Declare PropertyInfo as constexpr, rather than const
This commit is contained in:
@@ -30,13 +30,13 @@
|
||||
#include <openspace/util/powerscaledsphere.h>
|
||||
|
||||
namespace {
|
||||
const openspace::properties::Property::PropertyInfo RadiusInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo RadiusInfo = {
|
||||
"Radius",
|
||||
"Radius",
|
||||
"This value specifies the radius of this sphere in meters."
|
||||
};
|
||||
|
||||
const openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
constexpr openspace::properties::Property::PropertyInfo SegmentsInfo = {
|
||||
"Segments",
|
||||
"Segments",
|
||||
"This value specifies the number of segments that this sphere is split into."
|
||||
|
||||
Reference in New Issue
Block a user