mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Replacing const std::string with const char* to reduce binary size and initialization costs
This commit is contained in:
@@ -37,15 +37,15 @@
|
||||
|
||||
namespace {
|
||||
const std::string _loggerCat = "RenderableModelProjection";
|
||||
const std::string keySource = "Rotation.Source";
|
||||
const std::string keyDestination = "Rotation.Destination";
|
||||
const std::string keyGeometry = "Geometry";
|
||||
const std::string keyProjection = "Projection";
|
||||
const std::string keyBoundingSphereRadius = "BoundingSphereRadius";
|
||||
const char* keySource = "Rotation.Source";
|
||||
const char* keyDestination = "Rotation.Destination";
|
||||
const char* keyGeometry = "Geometry";
|
||||
const char* keyProjection = "Projection";
|
||||
const char* keyBoundingSphereRadius = "BoundingSphereRadius";
|
||||
|
||||
const std::string keyTextureColor = "Textures.Color";
|
||||
const char* keyTextureColor = "Textures.Color";
|
||||
|
||||
const std::string _destination = "GALACTIC";
|
||||
const char* _destination = "GALACTIC";
|
||||
}
|
||||
|
||||
namespace openspace {
|
||||
|
||||
Reference in New Issue
Block a user