summaryrefslogtreecommitdiff
path: root/core/math
AgeCommit message (Collapse)Author
2017-12-03Forgot to apply oversampling to YBastiaan Olij
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-12Add support for the TAU constant. Fixes #12094.Goutte
2017-11-09Remove get_default_video_mode definition on OSX/iOSRémi Verschelde
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.
2017-11-04AStar: implementation of get_point_connectionsDmDerbin
2017-10-31Merge pull request #12035 from Chaosus/wrapfuncRémi Verschelde
Added new Wrap functions for numbers
2017-10-31Merge pull request #11249 from m4nu3lf/bugfix/get_eulerRémi Verschelde
Fix inertia tensor update & Generic6DOFJoint & Simplify Basis::get_euler()
2017-10-27AStar: Add setters for point position and scale weight, cleanupUnknown
2017-10-22Fixed memory leak with AStar classRobert Hernandez
2017-10-22Merge pull request #11401 from SaracenOne/snapped_dragRémi Verschelde
Added snapping to spatial drag and drop.
2017-10-13Added new wrap functionsChaosus
2017-10-11Added Basis::get_quat() and set_quat().Ferenc Arn
2017-09-22Fix Basis::get_euler_xyz()m4nu3lf
2017-09-20Merge pull request #11409 from MarufSarker/PR-core-math-is_nanRémi Verschelde
Verbose and Platform-specific implementation for is_nan
2017-09-20Rename pos to position in user facing methods and variablesletheed
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.
2017-09-20verbose and platform specific implementation for is_nanABU MD. MARUF SARKER
2017-09-20Added snapping to spatial drag and drop.SaracenOne
2017-09-19Fixed Typo: 'Seperate' to 'Separate'Indah Sylvia
2017-09-12Merge pull request #11049 from scayze/astar_get_pointsRémi Verschelde
Add get_points() method to AStar
2017-09-12Merge pull request #10908 from hpvb/fix-unused-variablesRémi Verschelde
Fix unused variable warnings
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08Fix serveral recent new clang-format errorsHein-Pieter van Braam
2017-09-07Several fixes to directional shadows, closes #10926Juan Linietsky
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-07Add get_points method to AStarScayze
2017-09-04-Changed KinematicBody API yet again to make it friendlierJuan Linietsky
-Fixed get_scale functions (and added set_scale) to make it more coherent when decomposing and composing (fixes bugs in transform interpolation)
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01Merge pull request #10846 from hpvb/fix-sign-compareRémi Verschelde
Fix signed and unsigned comparisons
2017-09-01Fix files headerPoommetee Ketson
2017-09-01Fix signed and unsigned comparisonsHein-Pieter van Braam
The first in my quest to make Godot 3.x compile with -Werror on GCC7
2017-08-30Add a new decomposition to Basis.Ferenc Arn
This new decomposition splits the basis into a rotation-reflection matrix and a positive scaling matrix, which is required for physics calculations.
2017-08-29Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn
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.
2017-08-27Dead code tells no talesRémi Verschelde
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-22Merge pull request #10415 from tagcup/euler_hackRémi Verschelde
Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) conven…
2017-08-22Merge pull request #10225 from Noshyaar/mapRémi Verschelde
GDScript Built-in: add inverse_lerp & range_lerp
2017-08-18Properly manage drawing of primitives when they lack an area, fixes #8930Juan Linietsky
2017-08-18GDScript Built-in: add inverse_lerp & range_lerpPoommetee Ketson
2017-08-18Fix incorrect workaround for pure Y (X) rotations in XYZ (YXZ) convention.Ferenc Arn
Fixes #10352.
2017-08-17Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez
2017-08-16Merge pull request #8899 from toger5/BetterFlatStyleboxRémi Verschelde
Better flat stylebox with rounded corners
2017-08-16Synchronize parameter names in definition and declarationTwistedTwigleg
Fixes #10244.
2017-08-16Rename cull_AABB to cull_aabbRémi Verschelde
Part of #8830.
2017-08-15Added Corner Enumtoger5
2017-08-14Use const reference where favorableWilson E. Alvarez
2017-08-11Merge pull request #10190 from tagcup/euler_yxzRémi Verschelde
Use YXZ convention for Euler angles.
2017-08-09Use YXZ convention for Euler angles.Ferenc Arn
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.
2017-08-08Moved member variables from constructor to initialization listWilson E. Alvarez
2017-08-07Display the Y angle properly when rotating from gizmo, partially helps #1479Juan Linietsky
2017-07-31Merge pull request #8567 from BastiaanOlij/ar_vr_serverRémi Verschelde
AR/VR base classes and position tracker support
2017-07-30Style: Apply clang-format on all filesRémi Verschelde
Thus fixing some invalid changes that had still made it to the master branch.