66 Commits

Author SHA1 Message Date
Arpit Srivastava
8d1ed39cb7 Fix missing word in Beziers, curves and paths (#5654) 2022-02-27 19:19:23 +01:00
Hugo Locurcio
eb98244d1c Fix C# code sample in Random number generation 2021-10-20 11:00:06 +02:00
Aaron Franke
1ea8cccaf1 [3.x] Add C# code examples (salvage of VinnNo's PRs) 2021-10-15 15:41:02 +02:00
Selgesel
80f2386971 Fix cubic interpolation method reference links (#5221) 2021-09-02 12:54:48 +02:00
Rémi Verschelde
e2b95576d8 Cleanup uses of double spaces between words or after punctuation 2021-07-13 00:44:58 +02:00
soringherghisan
9b8fb00e25 Random number generation: Fix comment for randi_range() example (#4998) 2021-06-15 19:09:42 +02:00
BlueStag
0b320a198f Fixed "GetNode" inconsistency
See #4794

(cherry picked from commit 4cfe07b696)
2021-05-18 12:19:27 +02:00
zacryol
b9160ec39e Fix description of randfn() in Random number generation (#4759) 2021-03-16 22:11:05 +01:00
Hugo Locurcio
d1ecbbc3fb Fix syntax error in the randi_range() example in the RNG tutorial 2021-03-16 22:11:01 +01:00
Nathan Lovato
be239920ea Edit random_numbers.rst
Remove parens, passive voice -> direct voice, fix some typos, simplify some of the language, and add a short intro listing what the reader will learn
2021-03-16 22:10:57 +01:00
Hugo Locurcio
d475a4b4de Add a random number generation tutorial
This closes #2436.
2021-03-16 22:10:50 +01:00
Samuel Laferriere
c4a56adc06 Fix GDScript code sample in Matrices and transforms (#4731) 2021-03-09 02:53:21 +01:00
Rémi Verschelde
6d8c7b1d1a Merge branch 'master' into 3.2 2020-09-11 09:15:57 +02:00
Hugo Locurcio
747af9b3c7 Mention the Node2D shearing property in Matrices and transforms
This closes #3604.
2020-09-09 14:15:06 +02:00
Rémi Verschelde
c58ed951a1 Drop LaTeX dependency via usage of sphinx.ext.imgmath in Vector Math tutorial
It's the only tutorial where we used the extension for *3* formulas which anyway
ended up as fairly low res static images generated by sphinx.ext.imgmath, so
requiring ~1 GB of LaTeX setup for it is overkill.

The replacement pictures are the ones generated by sphinx.ext.imgmath, we could
replace them by higher resolution ones.
2020-07-15 09:58:21 +02:00
Rémi Verschelde
ce7a9a6eab Images: Remove unused images (no 'image::' or 'figure::' reference) 2020-06-05 14:43:20 +02:00
Duroxxigar
a7ff290bb7 Adjusted wording for matrices and transforms to be more friendly 2020-06-04 23:33:23 -04:00
Hugo Locurcio
4f6fdbc710 Fix various spacing and capitalization issues 2020-05-18 09:54:32 +02:00
Hugo Locurcio
d494d19dac Remove trailing whitespace and irregular whitespace 2020-05-17 00:26:19 +02:00
Hugo Locurcio
046215542d Fix some typos and grammar mistakes found using LanguageTool 2020-04-16 23:07:05 +02:00
Hugo Locurcio
8e0caddac3 Fix typos found using codespell -wi3 ^classes/**/*.rst 2020-04-16 21:01:09 +02:00
Aaron Franke
a9ef557151 Use direction_to, remove code example for manually normalizing (#3330)
Also link to matrices and transforms and 3Blue1Brown from within the advanced vector math article.
2020-03-31 16:06:18 +02:00
Yuri Sizov
37604be65f Improved keystroke formatting for shortcuts and key press menti… (#3257) 2020-03-09 23:50:53 +01:00
Aaron Franke
28a04d587b Fix code samples for Matrices and Transforms 2020-02-17 22:10:35 -05:00
Aaron Franke
f0ab9e05fc Rewrite Matrices and Transforms article 2020-02-10 01:47:30 -05:00
Hugo Locurcio
c1c5cd62cd Fix some images being difficult to read when using the dark theme
Adding the background color `#fcfcfc` (which matches the light theme's
background color) makes images readable again when using the dark theme.
2020-01-31 01:54:15 +01:00
Matthew
0010cd5f9e Fix advanced vector math images for dark mode (#3122) 2020-01-29 17:30:14 +01:00
Rémi Verschelde
e23ee5b081 Fix typos with codespell
Using codespell 1.16.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2019-12-06 22:07:59 +01:00
Chris Bradfield
ddd0587e8e Merge pull request #2806 from anoadragon453/anoa/vector_math_titles
Fix titles in Vector Math page
2019-10-06 13:47:27 -07:00
Andrew Morgan
c6ced03837 Remove redundant phrase 2019-10-01 21:43:09 +01:00
Andrew Morgan
d7fab7ccd5 Fix titles in Vector Math page 2019-09-30 23:28:20 +01:00
Nathan Lovato
392e5a005e Proof Bezier, curves and paths tutorial
Up until the Curve* nodes in Godot
2019-05-01 09:23:27 +09:00
Rémi Verschelde
e40f3da2d5 Formatting fixes to new tutorials 2019-04-24 07:27:39 +02:00
Michael Alexsander Silva Dias
38bfbcdc35 General fixes for new interpolation and curves tutorials 2019-04-23 17:44:02 -03:00
Juan Linietsky
9a107a399a Fixes to tutorials 2019-04-23 15:13:06 -03:00
Juan Linietsky
efa6e36f1f Modified reference to beziers tutorial 2019-04-23 14:45:29 -03:00
Juan Linietsky
e5f598ff5c Add tutorials on interpolation and beziers. 2019-04-23 14:15:14 -03:00
Rémi Verschelde
5b2aaf8d41 Optimize PNGs with optipng
Using `find -name "*.png" -exec optipng \;` and optipng 0.7.7
2019-01-26 22:10:03 +01:00
Rémi Verschelde
a1af0dfc13 Adapt tutorial hyperlinks after godotengine/godot#24640 2019-01-07 11:43:18 +01:00
corrigentia
321aa482d9 Fix punctuation in vector_math
Fix punctuation in vector_math.
2018-12-22 12:40:37 +02:00
Rémi Verschelde
4ef06a4135 Removing trailing whitespace
With `sed -i $(rg -l '[[:blank:]]*$' -g'!classes') -e 's/[[:blank:]]*$//g'`
2018-11-20 11:08:34 +01:00
Rémi Verschelde
e29dc58cbb Heading capitalization fixes + misc edits 2018-08-23 10:57:22 +02:00
Mads Ynddal
70abc39b59 Corrected function/variable cases for C# examples (#1583)
* Corrected function/variable cases for C# examples

This commit corrects a few charecter cases in relation to
godot/modules/mono/glue/cs_files/Mathf.cs. The documentation currently states
Pi is defined as `Mathf.PI`, while it's actually `Mathf.Pi`.

The same mistake was found and fixed for some misc. arithmetical functions.

* Reverted Pi to PI
2018-07-19 16:50:35 -07:00
Rémi Verschelde
90ffb6a6fa Remove tutorial on linear algebra for rotations
Though it covers an interesting topic in a way that can be beneficial
to many Godot users, after discussion with doc team members and reduz
we feel that its current scope is too out of phase with the target
readership of the Godot docs.

This tutorial would work better hosted out of the Godot docs, and
referenced with a `.. seealso::` link for those who want to dig further
into the math meat.

Thanks a lot to tagcup for this contribution though (as well as the
many contributions to the engine's math and rendering), and sorry for
not better describing what kind of "advanced" math tutorial would be
fitting for the Godot docs.

Sphinx: Also reverted from mathjax to imgmath, as the former implied
running JS code on every single page (regardless of their use of LaTeX
formulas to renderer), so for now imgmath is simpler and good enough.
2018-06-18 08:39:44 +02:00
None
f064e4f7a7 Fix 404s, some redirects and some broken links. 2018-05-30 16:49:21 -07:00
Max Hilbrunner
3e112b9bde Typo fix 2018-05-07 09:23:18 +02:00
mhilbrunner
f215a0cf26 Proofing/review: Remove filler words, adhere to style guide 2018-05-06 05:23:37 +02:00
Yuri Chornoivan
11d534015d Fix minor typos 2018-04-18 21:44:15 +03:00
Ferenc Arn
b33cea6330 Added an example demonstrating gimbal lock
+ minor refinements
2018-04-12 16:32:05 -04:00
Ferenc Arn
da6f6e83d2 Minor changes to rotations docs.
Also removed the redundant SLERP discussion (which contained an awful typo: it used the symbols we introduced to described the 3D vectors and angles to describe
the 4D ones).
2018-04-10 14:35:59 -04:00