mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Introduction of new Dictionary class (#1446)
* Adapting to introduction of new Dictionary class in Ghoul * Mainly replacing usage of float instead of doubles as expected * Adjust to the lack of the hasKeyAndValue function
This commit is contained in:
@@ -43,8 +43,8 @@ VolumeClipPlane::VolumeClipPlane(const ghoul::Dictionary& dictionary)
|
||||
glm::vec2(2.f, 1.f)
|
||||
)
|
||||
{
|
||||
_normal = dictionary.value<glm::vec3>("Normal");
|
||||
_offsets = dictionary.value<glm::vec2>("Offsets");
|
||||
_normal = dictionary.value<glm::dvec3>("Normal");
|
||||
_offsets = dictionary.value<glm::dvec2>("Offsets");
|
||||
|
||||
addProperty(_normal);
|
||||
addProperty(_offsets);
|
||||
|
||||
Reference in New Issue
Block a user