aboutsummaryrefslogtreecommitdiff
path: root/core/math (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename Rect3 to AABB.Ferenc Arn2017-11-1715-106/+106
| | | | Fixes #12973.
* Add support for the TAU constant. Fixes #12094.Goutte2017-11-121-0/+1
|
* Remove get_default_video_mode definition on OSX/iOSRémi Verschelde2017-11-091-1/+1
| | | | | | | | It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation for those platforms. Took the opportunity to run clang-format on the code base to fix some corner cases that went through our static tests/were overlooked recently.
* AStar: implementation of get_point_connectionsDmDerbin2017-11-042-0/+18
|
* Merge pull request #12035 from Chaosus/wrapfuncRémi Verschelde2017-10-312-1/+19
|\ | | | | Added new Wrap functions for numbers
| * Added new wrap functionsChaosus2017-10-132-1/+19
| |
* | Merge pull request #11249 from m4nu3lf/bugfix/get_eulerRémi Verschelde2017-10-311-13/+12
|\ \ | | | | | | Fix inertia tensor update & Generic6DOFJoint & Simplify Basis::get_euler()
| * | Fix Basis::get_euler_xyz()m4nu3lf2017-09-221-13/+12
| | |
* | | AStar: Add setters for point position and scale weight, cleanupUnknown2017-10-272-16/+45
| | |
* | | Fixed memory leak with AStar classRobert Hernandez2017-10-221-0/+1
| | |
* | | Merge pull request #11401 from SaracenOne/snapped_dragRémi Verschelde2017-10-221-0/+17
|\ \ \ | | | | | | | | Added snapping to spatial drag and drop.
| * | | Added snapping to spatial drag and drop.SaracenOne2017-09-201-0/+17
| | | |
* | | | Added Basis::get_quat() and set_quat().Ferenc Arn2017-10-112-17/+11
| |_|/ |/| |
* | | Merge pull request #11409 from MarufSarker/PR-core-math-is_nanRémi Verschelde2017-09-201-2/+38
|\ \ \ | | | | | | | | Verbose and Platform-specific implementation for is_nan
| * | | verbose and platform specific implementation for is_nanABU MD. MARUF SARKER2017-09-201-2/+38
| |/ /
* / / Rename pos to position in user facing methods and variablesletheed2017-09-202-8/+8
|/ / | | | | | | | | | | | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* / Fixed Typo: 'Seperate' to 'Separate'Indah Sylvia2017-09-191-1/+1
|/
* Merge pull request #11049 from scayze/astar_get_pointsRémi Verschelde2017-09-122-0/+12
|\ | | | | Add get_points() method to AStar
| * Add get_points method to AStarScayze2017-09-072-0/+12
| |
* | Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde2017-09-122-2/+1
|\ \ | | | | | | Fix unused variable warnings
| * | Fix unused variable warningsHein-Pieter van Braam2017-09-082-17/+14
| | | | | | | | | | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* | | Fix serveral recent new clang-format errorsHein-Pieter van Braam2017-09-082-16/+13
|/ /
* / Several fixes to directional shadows, closes #10926Juan Linietsky2017-09-072-64/+24
|/ | | | Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
* -Changed KinematicBody API yet again to make it friendlierJuan Linietsky2017-09-043-6/+23
| | | | -Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
* Fix use of unitialized variablesHein-Pieter van Braam2017-09-022-4/+4
| | | | The second in my quest to make Godot 3.x compile with -Werror on GCC7
* Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde2017-09-011-2/+2
|\ | | | | Fix signed and unsigned comparisons
| * Fix signed and unsigned comparisonsHein-Pieter van Braam2017-09-011-2/+2
| | | | | | | | The first in my quest to make Godot 3.x compile with -Werror on GCC7
* | Fix files headerPoommetee Ketson2017-09-011-1/+1
|/
* Add a new decomposition to Basis.Ferenc Arn2017-08-302-4/+38
| | | | This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
* Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn2017-08-292-37/+0
| | | | | | Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people. Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
* Dead code tells no talesRémi Verschelde2017-08-2710-297/+5
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2736-36/+36
|
* Merge pull request #10415 from tagcup/euler_hackRémi Verschelde2017-08-221-13/+4
|\ | | | | Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) conven…
| * Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) convention.Ferenc Arn2017-08-181-13/+4
| | | | | | | | Fixes #10352.
* | Merge pull request #10225 from Noshyaar/mapRémi Verschelde2017-08-221-2/+8
|\ \ | | | | | | GDScript Built-in: add inverse_lerp & range_lerp
| * | GDScript Built-in: add inverse_lerp & range_lerpPoommetee Ketson2017-08-181-2/+8
| | |
* | | Properly manage drawing of primitives when they lack an area, fixes #8930Juan Linietsky2017-08-181-2/+2
| | |
* | | Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez2017-08-171-2/+2
| |/ |/|
* | Merge pull request #8899 from toger5/BetterFlatStyleboxRémi Verschelde2017-08-161-0/+8
|\ \ | | | | | | Better flat stylebox with rounded corners
| * | Added Corner Enumtoger52017-08-151-0/+8
| | |
* | | Synchronize parameter names in definition and declarationTwistedTwigleg2017-08-164-56/+56
| | | | | | | | | | | | Fixes #10244.
* | | Rename cull_AABB to cull_aabbRémi Verschelde2017-08-161-6/+6
| | | | | | | | | | | | Part of #8830.
* | | Use const reference where favorableWilson E. Alvarez2017-08-142-4/+4
|/ /
* | Merge pull request #10190 from tagcup/euler_yxzRémi Verschelde2017-08-114-18/+143
|\ \ | | | | | | Use YXZ convention for Euler angles.
| * | Use YXZ convention for Euler angles.Ferenc Arn2017-08-094-18/+143
| |/ | | | | | | | | | | | | As discussed in issues #1479 and #9782, choosing the up axis (which is Y in Godot) as the axis of the last (or first) rotation is helpful in practical use cases. This also aligns Godot's convention with Unity, helping with a smoother transition for people who are used to working with Unity (issue #9905). Internally, both XYZ and YXZ functions are kept, for potential future applications.
* / Moved member variables from constructor to initialization listWilson E. Alvarez2017-08-085-37/+34
|/
* Display the Y angle properly when rotating from gizmo, partially helps #1479Juan Linietsky2017-08-071-3/+11
|
* Merge pull request #8567 from BastiaanOlij/ar_vr_serverRémi Verschelde2017-07-312-13/+113
|\ | | | | AR/VR base classes and position tracker support
| * Adding base classes and structures for ARVR supportBastiaanOlij2017-07-282-13/+113
| | | | | | | | | | | | Added ArVrScriptInterface Added ARVRCamera, ARVRController and ARVROrigin helper objects
* | Style: Apply clang-format on all filesRémi Verschelde2017-07-301-12/+12
|/ | | | Thus fixing some invalid changes that had still made it to the master branch.