Fix MyAvatar.gotoLocation()'s "withSafeLanding" parameter JSDoc

This commit is contained in:
David Rowe 2019-12-18 08:31:57 +13:00
parent 34958ddb71
commit 28f5046ab2

View file

@ -2072,8 +2072,8 @@ public slots:
* @param {boolean} [hasOrientation=false] - Set to <code>true</code> to set the orientation of the avatar.
* @param {Quat} [orientation=Quat.IDENTITY] - The new orientation for the avatar.
* @param {boolean} [shouldFaceLocation=false] - Set to <code>true</code> to position the avatar a short distance away from
* @param {boolean} [withSafeLanding=true] - Set to <code>false</code> MyAvatar::safeLanding will not be called (used when teleporting).
* the new position and orientate the avatar to face the position.
* @param {boolean} [withSafeLanding=true] - Set to <code>false</code> to disable safe landing when teleporting.
*/
void goToLocation(const glm::vec3& newPosition,
bool hasOrientation = false, const glm::quat& newOrientation = glm::quat(),