summaryrefslogtreecommitdiffstats
path: root/core/math/vector3.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added move_toward functions for float, Vector2 and Vector3Giacom2019-05-281-0/+7
|
* [Core] Rename Matrix3 file to BasisAaron Franke2019-02-091-1/+1
| | | The code already referred to "Basis", it's just the file name that was different for some reason.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+2
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Dead code tells no talesRémi Verschelde2017-08-271-45/+0
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Fixed syntax inconsistency in Vector3.snap and Vector3.snappedTwistedTwigleg2017-07-031-5/+5
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-43/+36
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Revert "Make nan==nan true for GDScript"Juan Linietsky2017-02-141-11/+0
|
* Make nan==nan true for GDScriptHein-Pieter van Braam2017-02-141-0/+11
| | | | | | | | | | | | | After discussing this with Reduz this seemed like the best way to fix #7354. This will make composite values that contain NaN in the same places as well as the same other values compare as the same. Additionally non-composite values now also compare equal if they are both NaN. This breaks IEEE specifications but this is probably what most users expect. There is a GDScript function check for NaN if the user needs this information. This fixes #7354 and probably also fixes #6947
* Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-161-37/+37
| | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
* Type renames:Juan Linietsky2017-01-111-1/+1
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Vector3: format properly, fix indentsJ08nY2016-10-031-6/+6
|
* Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399Juan Linietsky2016-09-061-7/+3
|
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* -try to avoid errors when path using ".." is present in script include, ↵Juan Linietsky2015-04-181-1/+1
| | | | fixes #1703
* -fix vector rotation, fixes #1705Juan Linietsky2015-04-181-17/+2
|
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+201