summaryrefslogtreecommitdiff
path: root/core/math
AgeCommit message (Collapse)Author
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-03Use right handed coordinate system for rotation matrices and quaternions. ↵Ferenc Arn
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.
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
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()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-10DOF blur, near and far fields..Juan Linietsky
2016-12-04Support for SSAOJuan Linietsky
2016-11-09all light types and shadows are working, pending a lot of clean-upJuan Linietsky
2016-11-09Merge pull request #7039 from RandomShaper/fix-triangulationRémi Verschelde
Clean/fix triangulation internals
2016-11-07Some missing License notice has been addedSPTelur
2016-11-05Clean/fix triangulation internalsPedro J. Estébanez
Drop unused variable Remove commented-out code Fix leak by using Vector instead of raw memory
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
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.
2016-10-30Merge pull request #6751 from SuperUserNameMan/new_PRNG_for_rand_from_seedRémi Verschelde
xorshift32 PRNG for Math::rand_from_seed()
2016-10-19Everything returning to normal in 3D, still a long way to goJuan Linietsky
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-10xorshift32 PRNG for Math::rand_from_seed()yg2f
should fixes #1043 PRNG adapted from : http://excamera.com/sphinx/article-xorshift.html
2016-10-08Added simple check to viewport, if matrix32 is invesile ↵Mateusz Adamczyk
(https://github.com/godotengine/godot/issues/6296).
2016-10-03Vector3: added angle_to(Vector3 other)J08nY
2016-10-03Vector3: format properly, fix indentsJ08nY
2016-09-19Fix for #6158. Converting Vector2 to Size2 for scaling functions.anneomcl
2016-09-13Added a generic AStar implementation to Godot.Juan Linietsky
It's pretty fast, use it for games where Navigation does not cut it.
2016-09-10Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky
Fix some more warnings
2016-09-06Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399Juan Linietsky
2016-08-24Matrix32: Add constructor that takes six real_t paramsIgnacio Etcheverry
2016-08-13Fix some warnings about misleading indentationJohan Manuel
2016-07-28Fix regression with str() improvements for math typesIgnacio Etcheverry
2016-07-27Merge pull request #5921 from neikeq/pr-issue-5919Rémi Verschelde
Prettier str() for some math types
2016-07-27Prettier str() for some math typesIgnacio Etcheverry
2016-07-26Changed the way the step decimals are computed to a safer way, fixes many ↵Juan Linietsky
issues.
2016-07-24Turn some prints to error logs, remove othersRémi Verschelde
Fixes #5876 in passing.
2016-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-06-22Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky
statically typed languages, should help in the Mono integration. Disabled by default.
2016-06-19Remove USE_QUAD_VECTORS unused checkJ08nY
2016-06-18Drop empty .cpp files for header-only classesRémi Verschelde
Part of #5272
2016-06-18Drop empty files that are not used anywhereRémi Verschelde
Part of #5272
2016-05-21First version of ProfilerJuan Linietsky
It is now possible to profile GDScript as well as some parts of Godot internals.
2016-05-01math: Fix rounding error for 0 in Math::round (#4495)Rémi Verschelde
Thus revert the previous workaround in commit b123bc4a2a9c07fcfd27a84109960bda158b3b9d. Fixes #3221.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-17Correct octree's AABB intersect test, fixes #3576 and #3253sheepandshepherd
2016-01-03Fixed the decimals function, it can't be perfect but it should be good ↵Juan Linietsky
enough. Closes #1955
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-29removed wron return types, fixes #2483reduz
removed console, which was obsolete and unused sine long long ago
2015-12-14implement point cloud function using convex hull for ConvexPolygonShape2D, ↵Juan Linietsky
fixes #2848
2015-11-19-remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky
2015-11-18Merge pull request #2707 from akien-mga/masterJuan Linietsky
Cosmetic fixes to SCons buildsystem
2015-11-11Implement Quat multiply operator, and xform methodFranklin Sobrinho
2015-11-01Cosmetic fixes to SCons buildsystemRémi Verschelde
- Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
2015-10-17Merge pull request #2266 from MrGreenTea/masterJuan Linietsky
added floor() and ceil() to Vector3
2015-09-26Fix some copy-paste mistakes in linear/db volume functionsRémi Verschelde
2015-07-15added floor() and ceil() to Vector3MrGreenTea