mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 23:09:32 -05:00
More work on Property documentation
This commit is contained in:
@@ -44,6 +44,12 @@ documentation::Documentation StaticTranslation::Documentation() {
|
||||
"Static Translation",
|
||||
"base_transform_translation_static",
|
||||
{
|
||||
{
|
||||
"Type",
|
||||
new StringEqualVerifier("StaticTranslation"),
|
||||
"",
|
||||
Optional::No
|
||||
},
|
||||
{
|
||||
PositionInfo.identifier,
|
||||
new DoubleVector3Verifier,
|
||||
@@ -73,7 +79,7 @@ StaticTranslation::StaticTranslation(const ghoul::Dictionary& dictionary)
|
||||
documentation::testSpecificationAndThrow(
|
||||
Documentation(),
|
||||
dictionary,
|
||||
"StaticEphemeris"
|
||||
"StaticTranslation"
|
||||
);
|
||||
|
||||
_position = dictionary.value<glm::dvec3>(PositionInfo.identifier);
|
||||
|
||||
Reference in New Issue
Block a user