History

fix dirOffset, expose intersection type to JS

SamGondelman committed 9 years ago

Commit 3a35cd11 parent 783750a5 files · +27 −8Browse files

Showing the changes to interface/src/raypick/LaserPointerScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

interface/src/raypick/LaserPointerScriptingInterface.cpp+1−1
@@ -34,7 +34,7 @@ uint32_t LaserPointerScriptingInterface::createLaserPointer(const QVariant& prop · 33 unmodified lines
3434
3535 glm::vec3 dirOffset = Vectors::UP;
3636 if (propertyMap["dirOffset"].isValid()) {
37− posOffset = vec3FromVariant(propertyMap["dirOffset"]);
37+ dirOffset = vec3FromVariant(propertyMap["dirOffset"]);
3838 }
3939
4040 uint16_t filter = 0;