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
34 34
35 glm::vec3 dirOffset = Vectors::UP;35 glm::vec3 dirOffset = Vectors::UP;
36 if (propertyMap["dirOffset"].isValid()) {36 if (propertyMap["dirOffset"].isValid()) {
37 posOffset = vec3FromVariant(propertyMap["dirOffset"]);37 dirOffset = vec3FromVariant(propertyMap["dirOffset"]);
38 }38 }
39 39
40 uint16_t filter = 0;40 uint16_t filter = 0;