diff --git a/libraries/avatars-renderer/src/avatars-renderer/Avatar.h b/libraries/avatars-renderer/src/avatars-renderer/Avatar.h index 7a2bc474a1f..c6112d74f2a 100644 --- a/libraries/avatars-renderer/src/avatars-renderer/Avatar.h +++ b/libraries/avatars-renderer/src/avatars-renderer/Avatar.h @@ -358,7 +358,7 @@ class Avatar : public AvatarData, public scriptable::ModelProvider, public MetaM * @param {Vec3} offset - The skeleton offset to set. * @example Raise your avatar off the ground a little. * // Raise your avatar off the ground a little. - * MyAvatar.setSkeletonOffset({ x: 0, y: 0.1: z: 0 }); + * MyAvatar.setSkeletonOffset({ x: 0, y: 0.1, z: 0 }); * * // Restore its offset after 5s. * Script.setTimeout(function () { @@ -373,7 +373,7 @@ class Avatar : public AvatarData, public scriptable::ModelProvider, public MetaM * @function MyAvatar.getSkeletonOffset * @returns {Vec3} The current skeleton offset. * @example Report your avatar's current skeleton offset. - * print(JSON.stringify(MyAvatar.getSkeletonOffset()); + * print(JSON.stringify(MyAvatar.getSkeletonOffset())); */ Q_INVOKABLE glm::vec3 getSkeletonOffset() { return _skeletonOffset; }