Skip to content

Commit 247acb2

Browse files
Show handedness in Vector2's angle-related images
1 parent cc78f44 commit 247acb2

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

classes/class_vector2.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ Returns this vector's angle with respect to the positive X axis, or ``(1, 0)`` v
429429

430430
For example, ``Vector2.RIGHT.angle()`` will return zero, ``Vector2.DOWN.angle()`` will return ``PI / 2`` (a quarter turn, or 90 degrees), and ``Vector2(1, -1).angle()`` will return ``-PI / 4`` (a negative eighth turn, or -45 degrees).
431431

432-
\ `Illustration of the returned angle. <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle.png>`__\
432+
\ `Illustration of the returned angle. <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle.webp>`__\
433433

434434
Equivalent to the result of :ref:`@GlobalScope.atan2()<class_@GlobalScope_method_atan2>` when called with the vector's :ref:`y<class_Vector2_property_y>` and :ref:`x<class_Vector2_property_x>` as parameters: ``atan2(y, x)``.
435435

@@ -445,7 +445,7 @@ Equivalent to the result of :ref:`@GlobalScope.atan2()<class_@GlobalScope_method
445445

446446
Returns the signed angle to the given vector, in radians.
447447

448-
\ `Illustration of the returned angle. <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to.png>`__
448+
\ `Illustration of the returned angle. <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to.webp>`__
449449

450450
.. rst-class:: classref-item-separator
451451

@@ -461,7 +461,7 @@ Returns the angle between the line connecting the two points and the X axis, in
461461

462462
\ ``a.angle_to_point(b)`` is equivalent of doing ``(b - a).angle()``.
463463

464-
\ `Illustration of the returned angle. <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to_point.png>`__
464+
\ `Illustration of the returned angle. <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/vector2_angle_to_point.webp>`__
465465

466466
.. rst-class:: classref-item-separator
467467

img/vector2_angle.png

-1.63 KB
Binary file not shown.

img/vector2_angle.webp

6.11 KB
Loading

img/vector2_angle_to.png

-1.9 KB
Binary file not shown.

img/vector2_angle_to.webp

6.92 KB
Loading

img/vector2_angle_to_point.png

-1.63 KB
Binary file not shown.

img/vector2_angle_to_point.webp

5.96 KB
Loading

0 commit comments

Comments
 (0)