Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-23 | Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to ↵ | DualMatrix | |
core/math/ Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/ | |||
2018-09-19 | Fix: Strip integer part in "decimals" | Aaron Franke | |
Note: Core only. | |||
2018-09-13 | Merge pull request #21982 from luzpaz/misc-typos | Rémi Verschelde | |
Misc. typos | |||
2018-09-12 | Misc. typos | luz.paz | |
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"` | |||
2018-09-12 | Make core/ includes absolute, remove subfolders from include path | Rémi Verschelde | |
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. | |||
2018-08-29 | Add missing copyright headers | Rémi Verschelde | |
2018-08-27 | Merge pull request #21205 from KellyThomas/c-sharp-feature-parity-quat | Ignacio Etcheverry | |
[Mono] Quat - add some missing constructors and methods | |||
2018-08-24 | Make some debug prints verbose-only, remove others | Rémi Verschelde | |
2018-08-24 | mono: Quat - add some missing constructors and methods | Kelly Thomas | |
2018-08-23 | Merge pull request #21305 from Mr-Slurpy/expression-fix | Rémi Verschelde | |
Fixed bugs in expression class | |||
2018-08-23 | Fixed bugs in expression class | Daniel Eliasinski | |
2018-08-22 | [Mono] Vector2/3 Project methods | Aaron Franke | |
2018-08-20 | Remove faces in in QuickHull::build() that we don't need anymore | Hein-Pieter van Braam | |
We delete the faces for consideration in this loop but we can still sometimes find an edge that connects to this face. We now interate over all edges and disconnect edges connecting to this face. This fixes #16560 and fixes #17569 | |||
2018-08-16 | add project method to Vector2/3 | Thomas Herzog | |
2018-08-11 | [Core] Completely kill math_2d.h, change includes | Aaron Franke | |
2018-08-11 | [Core] Move Vector2i and Rect2i out of math_2d.h | Aaron Franke | |
2018-08-10 | [Core] Move Rect2 and Transform2D to their own files | Aaron Franke | |
Math2D includes Transform2D, which includes Rect2, which includes Vector2. | |||
2018-08-10 | [Core] Grammar, move defs to defs | Aaron Franke | |
Math constant definitions belong in `math_defs.h`. Also, the grammer in these files really needed some updating. | |||
2018-08-10 | [Core] Change math_2d includes to vector2 includes where relevant | Aaron Franke | |
2018-08-10 | [Core] Move Vector2 to its own file | Aaron Franke | |
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. | |||
2018-08-09 | Fix clang compile error | Marcelo Fernandez | |
2018-08-08 | Ability to pass custom variables to expression. | Juan Linietsky | |
2018-08-08 | -Add Expression class, used to evaluate expressions | Juan Linietsky | |
-Added expression evaluation to EditorSpinSlider, fixes #20813, fixes #18932 | |||
2018-07-26 | Merge pull request #18955 from tagcup/fix_set_scale | Rémi Verschelde | |
Removed incorrect Basis::set_scale(). | |||
2018-07-26 | Reduce unnecessary COW on Vector by make writing explicit | Hein-Pieter van Braam | |
This commit makes operator[] on Vector const and adds a write proxy to it. From now on writes to Vectors need to happen through the .write proxy. So for instance: Vector<int> vec; vec.push_back(10); std::cout << vec[0] << std::endl; vec.write[0] = 20; Failing to use the .write proxy will cause a compilation error. In addition COWable datatypes can now embed a CowData pointer to their data. This means that String, CharString, and VMap no longer use or derive from Vector. _ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug builds. This is a lot faster for Vector in the editor and while running tests. The reason why this difference used to exist is because force-inlined methods used to give a bad debugging experience. After extensive testing with modern compilers this is no longer the case. | |||
2018-07-24 | Removed unnecessary assignments | Wilson E. Alvarez | |
2018-07-05 | Merge pull request #19279 from aaronfranke/core-fposmod-fix | Max Hilbrunner | |
[Core] [Math] Fix fposmod() function | |||
2018-07-03 | Merge pull request #19819 from MetaSaval/master | Max Hilbrunner | |
Change the neighbours vector to a set in AStar | |||
2018-06-27 | Change the neighbours vector to a set in AStar | Danny | |
This fixes an issue where one could not disconnect two points that were connected more than once. | |||
2018-06-25 | Merge pull request #19193 from tagcup/quat_norm | Juan Linietsky | |
Fixed Basis -> Quat conversions, added a few safety checks. | |||
2018-06-21 | Added auto triangle generation in blend space, using Delaunay. | Juan Linietsky | |
2018-06-13 | Polished 3D selection | JFonS | |
2018-06-10 | [Core] [Math] Fix fposmod() function | Aaron Franke | |
ffff meth | |||
2018-06-07 | Added functions to get trimesh info | Andrea Catania | |
2018-05-31 | Style: Apply clang-format (5.0) to some missed files | Rémi Verschelde | |
2018-05-27 | Fixed Basis -> Quat conversions, added a few safety checks. | tagcup | |
Fixes #19027. | |||
2018-05-17 | Removed incorrect Basis::set_scale(). | tagcup | |
Also added a missing constructor in Basis, and fixed usage of inverse and affine inverse in Transform. | |||
2018-05-12 | Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation. | tagcup | |
Also even out Basis and Quat APIs a little. | |||
2018-05-07 | Merge pull request #15943 from poke1024/geometry-line-line | Juan Linietsky | |
Add Geometry::line_intersects_line_2d() | |||
2018-05-04 | Vector3::round, Vector2::round & Vector2::ceil methods were added. | Alexander Alekseev | |
Now both structs (Vector2 & Vector3) have round, floor & ceil methods. (see #18603) | |||
2018-04-19 | Fix Coverity reports of uninitialized scalar variable | Rémi Verschelde | |
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token). | |||
2018-04-14 | Avoid converting Quat to Euler angles when not necessary. | tagcup | |
Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis. Added various missing functions and constructors. Should close #17968. | |||
2018-04-13 | Small performance fix to wrapf | Chaosus | |
2018-04-09 | Resolves Inccorect Quaternion Conversion | Crazy-P | |
Fixes https://github.com/godotengine/godot/issues/18025 | |||
2018-04-08 | Merge pull request #16495 from Chaosus/is_point_in_triangle_fix | Juan Linietsky | |
Fix is_point_in_triangle function | |||
2018-03-22 | Fix for clang warning at distance_to | Marcelo Fernandez | |
2018-03-13 | Merge pull request #17254 from Chaosus/updatewrap | Rémi Verschelde | |
Update wrap functions | |||
2018-03-07 | Bring back Vector2.cross() | Bernhard Liebl | |
2018-03-06 | Update wrap functions | Chaosus | |
2018-02-28 | Allow degenerate triangles in polygon triangulation when necessary. | Nicolas Silva | |