mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 01:59:15 -05:00
More Code Cleanup (#2192)
* Harmonizing ( and ) in function calls * static const -> constexpr * Fix compile issue * Unify shader tab size * Add _fs and _vs to shaders * Harmonize spacing
This commit is contained in:
@@ -69,7 +69,7 @@ std::string makeIdentifier(std::string s) {
|
||||
"if openspace.hasSceneGraphNode('{0}') then "
|
||||
"openspace.removeSceneGraphNode('{0}') "
|
||||
"end "
|
||||
"openspace.addSceneGraphNode( {{ Identifier = '{0}' }} )",
|
||||
"openspace.addSceneGraphNode({{ Identifier = '{0}' }})",
|
||||
RenderedPathIdentifier
|
||||
);
|
||||
|
||||
@@ -192,7 +192,7 @@ std::string makeIdentifier(std::string s) {
|
||||
"if openspace.hasSceneGraphNode('{0}') then "
|
||||
"openspace.removeSceneGraphNode('{0}') "
|
||||
"end "
|
||||
"openspace.addSceneGraphNode( {{ Identifier = '{0}' }} )",
|
||||
"openspace.addSceneGraphNode({{ Identifier = '{0}' }})",
|
||||
RenderedPointsIdentifier
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user