History

Miscellaneous JSDoc fixes

David Rowe committed 8 years ago

Commit 0db44091 parent ac0607b4 files · +6 −6Browse files

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

Unified · Split

interface/src/raypick/PickScriptingInterface.cpp+2−2
@@ -36,7 +36,7 @@ unsigned int PickScriptingInterface::createPick(const PickQuery::PickType type, · 35 unmodified lines
3636 * @typedef {object} Picks.RayPickProperties
3737 * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results.
3838 * @property {number} [filter=Picks.PICK_NOTHING] The filter for this Pick to use, constructed using filter flags combined using bitwise OR.
39− * @property {float} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.
39+ * @property {number} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.
4040 * @property {string} [joint] Only for Joint or Mouse Ray Picks. If "Mouse", it will create a Ray Pick that follows the system mouse, in desktop or HMD.
4141 * If "Avatar", it will create a Joint Ray Pick that follows your avatar's head. Otherwise, it will create a Joint Ray Pick that follows the given joint, if it
4242 * exists on your current avatar.
@@ -103,7 +103,7 @@ unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) { · 60 unmodified lines
103103 * @property {number} [hand=-1] An integer. 0 == left, 1 == right. Invalid otherwise.
104104 * @property {boolean} [enabled=false] If this Pick should start enabled or not. Disabled Picks do not updated their pick results.
105105 * @property {number} [filter=Picks.PICK_NOTHING] The filter for this Pick to use, constructed using filter flags combined using bitwise OR.
106− * @property {float} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.
106+ * @property {number} [maxDistance=0.0] The max distance at which this Pick will intersect. 0.0 = no max. < 0.0 is invalid.
107107 */
108108 unsigned int PickScriptingInterface::createStylusPick(const QVariant& properties) {
109109 QVariantMap propMap = properties.toMap();