summaryrefslogtreecommitdiff
path: root/core/math
AgeCommit message (Collapse)Author
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.
2017-07-28Adding base classes and structures for ARVR supportBastiaanOlij
Added ArVrScriptInterface Added ARVRCamera, ARVRController and ARVROrigin helper objects
2017-07-15Lots of work on Audio & Physics engine:Juan Linietsky
-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.
2017-07-11AStar: add bool has_point(id)Poommetee Ketson
2017-07-08Refactor 'treshold' to 'threshold'Poommetee Ketson
2017-07-04Implemented environment arrays for skybox reflection and roughness, quality ↵Juan Linietsky
increase is enormous.
2017-07-03Fixed syntax inconsistency in Vector3.snap and Vector3.snappedTwistedTwigleg
2017-06-19Merge pull request #8870 from tagcup/pathfollowThomas Herzog
Fix PathFollow rotations.
2017-06-15doc: Sync classref with current sourceRémi Verschelde
Tried to salvage what I could of the Image and InputEvent changes.
2017-06-14Use inline code for isinf as a workaround for libstdc++ versions from gcc ↵Ferenc Arn
5.x era. Fixes #9166.
2017-06-13Merge pull request #8548 from tagcup/etc2compJuan Linietsky
Add ETC1/ETC2 compression support though etc2comp.
2017-06-09renamed all Rect3.pos to Rect3.positionalexholly
2017-06-08Fix build error, commit bee81d5Poommetee Ketson
2017-06-08Merge pull request #8981 from toger5/addedGrowFunctionRémi Verschelde
implemented grow(left,top,right,bottom) function
2017-06-05added grow functions to Rect2toger5
- grow_individual - grow_margin
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-05-31Add ETC1/ETC2 compression support though etc2comp.Ferenc Arn
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04. Fixes #8457.
2017-05-31Fix PathFollow rotations.Ferenc Arn
Used parallel transport to move the object along the curve. Also introduced a few more math checks useful for debugging.
2017-05-29Changed enum to const because enum with uint64 size does not work on VSC++ ↵Thomas Görlich
Compiler
2017-05-26-Added EXR supprot for HDR (no BC6 compression yet though)Juan Linietsky
-Improvements to texture importer -Proper detection of S3TC compression modes, and added all modes to Image -Fixes to non-power of 2 compressed textures, which should all be supported by GLES3
2017-05-22Merge pull request #8786 from bojidar-bg/fix-astar-weight-scaleRémi Verschelde
Fix weigth scale of A* being applied to the whole estimation
2017-05-22Fix weigth scale of A* being applied to the whole path and estimationBojidar Marinov
Attempt to fix #8584
2017-05-21Avoid overestimating the cost in AStar heuristics.Ferenc Arn
This is a necessary condition for finding optimal solutions. This is achieved by simply requiring/ensuring that no weights are smaller than 1. Fixes #8584.
2017-05-19Added bool to allow astar points to be connected in one direction onlyFabian Mathews
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-24Merge pull request #8277 from tagcup/math_checksRémi Verschelde
Added various functions basic math classes. Also enabled math checks …
2017-04-17Fix PRNG randomization.Ferenc Arn
PCG32 doesn't like small seeds, which leads to zero random values (prior to #7532, zero values were handled as special cases). Use a large default seed, and also add a shift in Math::randomize. Fixes #8423.
2017-04-08Particle system is complete. Rejoice!Juan Linietsky
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06New particle system, mostly working, some small features missing.Juan Linietsky
2017-04-06Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn
for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature.
2017-04-05Merge pull request #8214 from tagcup/bounce_reflect_slideRémi Verschelde
Made slide and reflect active verbs acting on itself in Vector2 and V…
2017-04-03Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn
This is in alignment with other functions in vector classes. Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs. Fixes #8201.
2017-04-03Merge pull request #8146 from supagu/astarRémi Verschelde
Added ability to change A-star cost function