aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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.
* Lots of work on Audio & Physics engine:Juan Linietsky2017-07-152-0/+16
| | | | | | | | -Added new 3D stream player node -Added ability for Area to capture sound from streams -Added small features in physics to be able to properly guess distance to areas for sound -Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children -Fixed KinematicBody API to make it the same as 2D.
* AStar: add bool has_point(id)Poommetee Ketson2017-07-112-0/+8
|
* Refactor 'treshold' to 'threshold'Poommetee Ketson2017-07-081-4/+4
|
* Implemented environment arrays for skybox reflection and roughness, quality ↵Juan Linietsky2017-07-041-3/+4
| | | | increase is enormous.
* Fixed syntax inconsistency in Vector3.snap and Vector3.snappedTwistedTwigleg2017-07-034-9/+9
|
* Merge pull request #8870 from tagcup/pathfollowThomas Herzog2017-06-193-13/+16
|\ | | | | Fix PathFollow rotations.
| * Fix PathFollow rotations.Ferenc Arn2017-05-313-13/+16
| | | | | | | | Used parallel transport to move the object along the curve. Also introduced a few more math checks useful for debugging.
* | doc: Sync classref with current sourceRémi Verschelde2017-06-151-1/+1
| | | | | | | | Tried to salvage what I could of the Image and InputEvent changes.