Skip to content

Commit 1b7edf4

Browse files
authored
Merge pull request godotengine#1112 from mhilbrunner/docs-warnings
Fix broken links in docs
2 parents 6c6811b + 66c073e commit 1b7edf4

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

tutorials/inputs/inputevent.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ logic. This allows for:
126126
- Input to be reconfigured at run-time.
127127

128128
Actions can be created from the Project Settings menu in the Actions
129-
tab. Read :ref:`doc_simple_2d_game-input_actions_setup` for an
130-
explanation on how the action editor works.
129+
tab.
131130

132131
Any event has the methods :ref:`InputEvent.is_action() <class_InputEvent_is_action>`,
133132
:ref:`InputEvent.is_pressed() <class_InputEvent_is_pressed>` and :ref:`InputEvent <class_InputEvent>`.

tutorials/math/matrices_and_transforms.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -435,16 +435,16 @@ Matrices & transforms in 3D
435435
As mentioned before, for 3D, we deal with 3 :ref:`Vector3 <class_Vector3>`
436436
vectors for the rotation matrix, and an extra one for the origin.
437437

438-
Matrix3
439-
-------
438+
Basis
439+
-----
440440

441-
Godot has a special type for a 3x3 matrix, named :ref:`Matrix3 <class_Matrix3>`.
441+
Godot has a special type for a 3x3 matrix, named :ref:`Basis <class_basis>`.
442442
It can be used to represent a 3D rotation and scale. Sub vectors can be
443443
accessed as:
444444

445445
::
446446

447-
var m = Matrix3()
447+
var m = Basis()
448448
var x = m[0] # Vector3
449449
var y = m[1] # Vector3
450450
var z = m[2] # Vector3
@@ -453,12 +453,12 @@ Or, alternatively as:
453453

454454
::
455455

456-
var m = Matrix3()
456+
var m = Basis()
457457
var x = m.x # Vector3
458458
var y = m.y # Vector3
459459
var z = m.z # Vector3
460460

461-
Matrix3 is also initialized to Identity by default:
461+
Basis is also initialized to Identity by default:
462462

463463
.. image:: img/tutomat17.png
464464

@@ -475,7 +475,7 @@ that can point to any direction, but length must be one (1.0).
475475
::
476476

477477
#rotate in Y axis
478-
var m3 = Matrix3()
478+
var m3 = Basis()
479479
m3 = m3.rotated( Vector3(0,1,0), PI/2 )
480480

481481
Transform

0 commit comments

Comments
 (0)