summaryrefslogtreecommitdiffstats
path: root/core/math/vector2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add explanations for errors related to Vector/Quat normalizationHugo Locurcio2020-01-241-2/+2
|
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Make is_equal_approx separate for structuresAaron Franke2019-10-141-0/+4
| | | | This commit adds exposed behavior for C#
* Add Vector2/3 sign and posmod functions, misc additionsAaron Franke2019-08-171-0/+13
| | | | Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
* Added move_toward functions for float, Vector2 and Vector3Giacom2019-05-281-0/+7
|
* Several fixes to make GLES2 on HTML5 work much better.Juan Linietsky2019-02-251-1/+1
| | | | Changed math class error reporting to be a bit less paranoid.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Remove redundant "== false" codeAaron Franke2018-10-061-2/+2
| | | | | | Some of this code has been re-organized. f
* [Mono] Vector2/3 Project methodsAaron Franke2018-08-221-1/+1
|
* add project method to Vector2/3Thomas Herzog2018-08-161-5/+2
|
* [Core] Move Vector2i and Rect2i out of math_2d.hAaron Franke2018-08-111-0/+66
|
* [Core] Move Vector2 to its own fileAaron Franke2018-08-101-0/+187
Makes 2D math code easier to read and makes Vector2 consistent with Vector3. In the future, we may move other things out of math_2d as well.