History

Fix wrong syntax for JSDoc comments. For reference, this is an internal syntax defined in tools/jsdoc/plugins/hifi.js

Julian Groß committed 3 years ago

Commit 326b00c1 parent 0f158973 files · +75 −75Browse files

Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 3 files). Show all

Unified · Split

libraries/script-engine/src/ScriptValueUtils.cpp+5−5
@@ -720,7 +720,7 @@ ScriptValue qColorToScriptValue(ScriptEngine* engine, const QColor& color) { · 719 unmodified lines
720 return object;720 return object;
721}721}
722 722
723/**jsdoc723/*@jsdoc
724 * An axis-aligned cube, defined as the bottom right near (minimum axes values) corner of the cube plus the dimension of its724 * An axis-aligned cube, defined as the bottom right near (minimum axes values) corner of the cube plus the dimension of its
725 * sides.725 * sides.
726 * @typedef {object} AACube726 * @typedef {object} AACube
@@ -817,7 +817,7 @@ bool pickRayFromScriptValue(const ScriptValue& object, PickRay& pickRay) { · 90 unmodified lines
817 return true;817 return true;
818}818}
819 819
820/**jsdoc820/*@jsdoc
821 * Details of a collision between avatars and entities.821 * Details of a collision between avatars and entities.
822 * @typedef {object} Collision822 * @typedef {object} Collision
823 * @property {ContactEventType} type - The contact type of the collision event.823 * @property {ContactEventType} type - The contact type of the collision event.
@@ -862,7 +862,7 @@ bool quuidFromScriptValue(const ScriptValue& object, QUuid& uuid) { · 38 unmodified lines
862 return true;862 return true;
863}863}
864 864
865/**jsdoc865/*@jsdoc
866 * A 2D size value.866 * A 2D size value.
867 * @typedef {object} Size867 * @typedef {object} Size
868 * @property {number} height - The height value.868 * @property {number} height - The height value.
@@ -881,7 +881,7 @@ bool qSizeFFromScriptValue(const ScriptValue& object, QSizeF& qSizeF) { · 12 unmodified lines
881 return true;881 return true;
882}882}
883 883
884/**jsdoc884/*@jsdoc
885 * The details of an animation that is playing.885 * The details of an animation that is playing.
886 * @typedef {object} Avatar.AnimationDetails886 * @typedef {object} Avatar.AnimationDetails
887 * @property {string} role - <em>Not used.</em>887 * @property {string} role - <em>Not used.</em>
@@ -955,7 +955,7 @@ bool meshesFromScriptValue(const ScriptValue& value, MeshProxyList& out) { · 67 unmodified lines
955 return true;955 return true;
956}956}
957 957
958/**jsdoc958/*@jsdoc
959 * A triangle in a mesh.959 * A triangle in a mesh.
960 * @typedef {object} MeshFace960 * @typedef {object} MeshFace
961 * @property {number[]} vertices - The indexes of the three vertices that make up the face.961 * @property {number[]} vertices - The indexes of the three vertices that make up the face.