summaryrefslogtreecommitdiffstats
path: root/core/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11106 from hpvb/documentation-fix-poolarraysRémi Verschelde2017-09-121-1/+1
|\ | | | | Correct the Pool*Array documentation
| * Correct the Pool*Array documentationHein-Pieter van Braam2017-09-091-1/+1
| |
* | Merge pull request #11028 from mrawlingst/color-RGBA32Rémi Verschelde2017-09-121-4/+4
|\ \ | |/ |/| Change Color.to_32() to Color.to_rgba32() and lowercase other functions
| * Change Color.to_32() to to_rgba32() and format as RGBAmrawlingst2017-09-071-4/+4
| |
* | -Fixed changes to default input actions not working, closes #10502Juan Linietsky2017-09-061-0/+2
|/ | | | -Added Array.duplicate() method, needed to fix above
* Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn2017-08-291-6/+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.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Exposed Transform.interpolate_with()Przemysław Gołąb (n-pigeon)2017-08-201-1/+3
| | | | Additionaly changed values names for 2D version to more descriptive ones.
* Moved member variables from constructor to initialization listWilson E. Alvarez2017-08-081-3/+3
|
* Add GZIP compression supportGeorge Marques2017-07-131-1/+1
| | | | - Fix a wrong call in PoolByteArray::compress
* Add basic compression functions to PoolBaseArrayGeorge Marques2017-06-191-0/+41
|
* added grow functions to Rect2toger52017-06-051-0/+4
| | | | | - grow_individual - grow_margin
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-26/+0
| | | | this might cause bugs I haven't found yet..
* Finish implementation of GDnative builtins bindingsEmmanuel Leblond2017-05-191-1/+0
|
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-94/+0
|
* Merge pull request #8277 from tagcup/math_checksRémi Verschelde2017-04-241-0/+18
|\ | | | | Added various functions basic math classes. Also enabled math checks …
| * Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn2017-04-061-0/+18
| | | | | | | | | | | | | | | | 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.
* | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|/
* Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn2017-04-031-4/+8
| | | | | | | 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.
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1147/+1112
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* added join to PoolStringArrayAlexHolly2017-03-011-0/+2
|
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-5/+5
| | | | This saves typing and is a step towards fixing #56
* Style: Various fixes to play nice with clang-formatRémi Verschelde2017-01-161-11/+11
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-9/+9
|
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-0/+1
| | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* Merge pull request #7010 from AlexHolly/format-string2Juan Linietsky2017-01-141-0/+2
|\ | | | | advanced string format
| * advanced string formatAlexHolly2016-11-011-0/+2
| |
* | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+2
| | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-141-4/+4
| | | | | | | | String.get_basename()
* | Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method ↵Juan Linietsky2017-01-131-2/+2
| | | | | | | | naming
* | Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky2017-01-111-2/+2
| |
* | Type renames:Juan Linietsky2017-01-111-315/+315
| | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | Merge pull request #7426 from m4nu3lf/bugfix/physicsJuan Linietsky2017-01-101-0/+5
|\ \ | | | | | | Fixed inertia tensor computation and center of mass
| * | Fixed inertia tensor computation and center of massm4nu3lf2017-01-091-0/+5
| | |
* | | Remove deprecated Vector2.floorf methodEmmanuel Leblond2017-01-101-5/+0
| | |
* | | Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky2017-01-081-5/+11
| | |
* | | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-2/+2
| | |
* | | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-2/+2
|/ / | | | | | | renamed to PoolVector
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-30/+41
|\ \ | | | | | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * | Begining of GLES3 renderer:Juan Linietsky2016-10-031-30/+41
| | | | | | | | | | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | | Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-021-4/+0
|\ \ \ | | | | | | | | Fixes and improvementes for IPv6 implementation.
| * | | Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-091-4/+0
| | | |
* | | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | / Add Array.front() and Array.back()Kazuo2562016-11-181-0/+4
| |/ |/|
* | adding ipv6Ariel Manzur2016-10-181-0/+5
|/
* Merge pull request #6675 from J08nY/issue-vector3-angle-toRémi Verschelde2016-10-031-0/+2
|\ | | | | | | | | Adds Vector.angle_to(Vector other), fixes #3912 [ci skip]
| * Vector3: added angle_to(Vector3 other)J08nY2016-10-031-0/+2
| |
* | Merge pull request #6304 from razvanc-r/masterRémi Verschelde2016-10-031-2/+2
|\ \ | |/ |/| (Array) .pop_front, .pop_back & .remove return values instead of void
| * (Array) pop_front, pop_back return valuesRăzvan Cosmin Rădulescu2016-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | pop_front, pop_back now return values instead of `void`. Things I didn't know how to properly implement: 1. pop_front & pop_back shows in the help menu Object as return value. I know this is incorrect but if not Object than what? Cause it can't be void. It needs to be a generic type that includes all the Array types
* | Expose Vector2::clamped() to scriptsAndreas Haas2016-09-191-0/+2
|/ | | | | Needed this and wondered that there's no built-in function for it. So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^