aboutsummaryrefslogtreecommitdiff
path: root/core/math
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Use inline code for isinf as a workaround for libstdc++ versions from gcc ↵Ferenc Arn2017-06-141-4/+4
| | | | | | | | | | | | 5.x era. Fixes #9166.
* | Merge pull request #8548 from tagcup/etc2compJuan Linietsky2017-06-131-0/+17
|\ \ | | | | | | Add ETC1/ETC2 compression support though etc2comp.
| * | Add ETC1/ETC2 compression support though etc2comp.Ferenc Arn2017-05-311-0/+17
| | | | | | | | | | | | | | | | | | Remove rg-etc1 code. Also updated travis to use ubuntu 14.04. Fixes #8457.
* | | renamed all Rect3.pos to Rect3.positionalexholly2017-06-0911-190/+190
| | |
* | | Fix build error, commit bee81d5Poommetee Ketson2017-06-081-2/+2
| | |
* | | Merge pull request #8981 from toger5/addedGrowFunctionRémi Verschelde2017-06-081-0/+19
|\ \ \ | | | | | | | | implemented grow(left,top,right,bottom) function
| * | | added grow functions to Rect2toger52017-06-051-0/+19
| |/ / | | | | | | | | | | | | - grow_individual - grow_margin
* | | renamed all Rect2.pos to Rect2.positionalexholly2017-06-043-108/+108
| | |
* | | Changed enum to const because enum with uint64 size does not work on VSC++ ↵Thomas Görlich2017-05-291-3/+1
|/ / | | | | | | Compiler
* / -Added EXR supprot for HDR (no BC6 compression yet though)Juan Linietsky2017-05-261-0/+4
|/ | | | | | -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
* Merge pull request #8786 from bojidar-bg/fix-astar-weight-scaleRémi Verschelde2017-05-221-4/+2
|\ | | | | Fix weigth scale of A* being applied to the whole estimation
| * Fix weigth scale of A* being applied to the whole path and estimationBojidar Marinov2017-05-221-5/+2
| | | | | | | | Attempt to fix #8584
* | Avoid overestimating the cost in AStar heuristics.Ferenc Arn2017-05-211-1/+1
| | | | | | | | | | | | | | 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.
* | Added bool to allow astar points to be connected in one direction onlyFabian Mathews2017-05-192-4/+6
|/
* Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde2017-04-285-1886/+2
|
* Merge pull request #8277 from tagcup/math_checksRémi Verschelde2017-04-248-42/+133
|\ | | | | Added various functions basic math classes. Also enabled math checks …
| * Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn2017-04-068-42/+133
| | | | | | | | | | | | | | | | 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.
* | Fix PRNG randomization.Ferenc Arn2017-04-172-5/+3
| | | | | | | | | | | | | | | | 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.
* | Particle system is complete. Rejoice!Juan Linietsky2017-04-081-10/+11
| |
* | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-0836-0/+36
| |
* | New particle system, mostly working, some small features missing.Juan Linietsky2017-04-061-23/+0
|/
* Merge pull request #8214 from tagcup/bounce_reflect_slideRémi Verschelde2017-04-053-9/+35
|\ | | | | Made slide and reflect active verbs acting on itself in Vector2 and V…
| * Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn2017-04-033-9/+35
| | | | | | | | | | | | | | 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.
* | Merge pull request #8146 from supagu/astarRémi Verschelde2017-04-032-3/+25
|\ \ | |/ |/| Added ability to change A-star cost function