aboutsummaryrefslogtreecommitdiff
path: root/core/math (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-078-82/+82
| | | | renamed to PoolVector
* Use right handed coordinate system for rotation matrices and quaternions. ↵Ferenc Arn2017-01-036-82/+159
| | | | | | | | Also fixes Euler angles (XYZ convention, which is used as default by Blender). Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly. This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-023-15/+15
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-023-2/+138
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * DOF blur, near and far fields..Juan Linietsky2016-12-102-2/+2
| |
| * Support for SSAOJuan Linietsky2016-12-042-0/+10
| |
| * all light types and shadows are working, pending a lot of clean-upJuan Linietsky2016-11-093-1/+25
| |
| * Everything returning to normal in 3D, still a long way to goJuan Linietsky2016-10-191-0/+102
| | | | | | | | -implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0134-34/+34
| | | | | | | | | | | | | | | | 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!
* | Merge pull request #7039 from RandomShaper/fix-triangulationRémi Verschelde2016-11-092-13/+5
|\ \ | | | | | | Clean/fix triangulation internals
| * | Clean/fix triangulation internalsPedro J. Estébanez2016-11-052-13/+5
| | | | | | | | | | | | | | | | | | Drop unused variable Remove commented-out code Fix leak by using Vector instead of raw memory
* | | Some missing License notice has been addedSPTelur2016-11-072-0/+59
|/ /
* | style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* | Merge pull request #6751 from SuperUserNameMan/new_PRNG_for_rand_from_seedRémi Verschelde2016-10-301-29/+8
|\ \ | | | | | | xorshift32 PRNG for Math::rand_from_seed()
| * | xorshift32 PRNG for Math::rand_from_seed()yg2f2016-10-101-29/+8
| |/ | | | | | | | | | | should fixes #1043 PRNG adapted from : http://excamera.com/sphinx/article-xorshift.html
* | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* | Added simple check to viewport, if matrix32 is invesile ↵Mateusz Adamczyk2016-10-081-1/+1
|/ | | | (https://github.com/godotengine/godot/issues/6296).
* Vector3: added angle_to(Vector3 other)J08nY2016-10-031-5/+7
|
* Vector3: format properly, fix indentsJ08nY2016-10-032-97/+100
|
* Fix for #6158. Converting Vector2 to Size2 for scaling functions.anneomcl2016-09-192-24/+13
|
* Added a generic AStar implementation to Godot.Juan Linietsky2016-09-132-0/+504
| | | | It's pretty fast, use it for games where Navigation does not cut it.
* Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky2016-09-101-1/+4
|\ | | | | Fix some more warnings
| * Fix some warnings about misleading indentationJohan Manuel2016-08-131-1/+4
| |
* | Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399Juan Linietsky2016-09-061-7/+3
| |
* | Matrix32: Add constructor that takes six real_t paramsIgnacio Etcheverry2016-08-241-0/+9
| |
* | Fix regression with str() improvements for math typesIgnacio Etcheverry2016-07-285-17/+10
| |
* | Merge pull request #5921 from neikeq/pr-issue-5919Rémi Verschelde2016-07-275-10/+17
|\ \ | | | | | | Prettier str() for some math types
| * | Prettier str() for some math typesIgnacio Etcheverry2016-07-275-10/+17
| |/
* / Changed the way the step decimals are computed to a safer way, fixes many ↵Juan Linietsky2016-07-262-16/+20
|/ | | | issues.
* Turn some prints to error logs, remove othersRémi Verschelde2016-07-241-7/+7
| | | | Fixes #5876 in passing.
* Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-081-14/+0
| | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky2016-06-222-1/+28
| | | | | | statically typed languages, should help in the Mono integration. Disabled by default.
* Remove USE_QUAD_VECTORS unused checkJ08nY2016-06-191-13/+0
|
* Drop empty .cpp files for header-only classesRémi Verschelde2016-06-181-30/+0
| | | | Part of #5272
* Drop empty files that are not used anywhereRémi Verschelde2016-06-182-64/+0
| | | | Part of #5272
* First version of ProfilerJuan Linietsky2016-05-211-0/+1
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* math: Fix rounding error for 0 in Math::round (#4495)Rémi Verschelde2016-05-011-1/+3
| | | | Thus revert the previous workaround in commit b123bc4a2a9c07fcfd27a84109960bda158b3b9d. Fixes #3221.
* remove trailing whitespaceHubert Jarosz2016-03-0921-738/+738
|
* Correct octree's AABB intersect test, fixes #3576 and #3253sheepandshepherd2016-02-172-6/+24
|
* Fixed the decimals function, it can't be perfect but it should be good ↵Juan Linietsky2016-01-031-2/+8
| | | | enough. Closes #1955
* Update copyright to 2016 in headersGeorge Marques2016-01-0135-35/+35
|
* removed wron return types, fixes #2483reduz2015-12-291-1/+0
| | | | removed console, which was obsolete and unused sine long long ago
* implement point cloud function using convex hull for ConvexPolygonShape2D, ↵Juan Linietsky2015-12-141-0/+31
| | | | fixes #2848
* -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky2015-11-192-3/+3
|
* Merge pull request #2707 from akien-mga/masterJuan Linietsky2015-11-181-2/+0
|\ | | | | Cosmetic fixes to SCons buildsystem
| * Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-2/+0
| | | | | | | | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
* | Implement Quat multiply operator, and xform methodFranklin Sobrinho2015-11-111-1/+1
|/
* Merge pull request #2266 from MrGreenTea/masterJuan Linietsky2015-10-171-9/+21
|\ | | | | added floor() and ceil() to Vector3
| * added floor() and ceil() to Vector3MrGreenTea2015-07-151-9/+21
| |
* | Fix some copy-paste mistakes in linear/db volume functionsRémi Verschelde2015-09-261-2/+2
|/