aboutsummaryrefslogtreecommitdiff
path: root/core/math (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression with str() improvements for math typesIgnacio Etcheverry2016-07-285-17/+10
|
* Merge pull request #5921 from neikeq/pr-issue-5919Rémi Verschelde2016-07-275-10/+17
|\ | | | | Prettier str() for some math types
| * Prettier str() for some math typesIgnacio Etcheverry2016-07-275-10/+17
| |
* | Changed the way the step decimals are computed to a safer way, fixes many ↵Juan Linietsky2016-07-262-16/+20
|/ | | | issues.
* Turn some prints to error logs, remove othersRémi Verschelde2016-07-241-7/+7
| | | | Fixes #5876 in passing.
* Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-081-14/+0
| | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky2016-06-222-1/+28
| | | | | | statically typed languages, should help in the Mono integration. Disabled by default.
* Remove USE_QUAD_VECTORS unused checkJ08nY2016-06-191-13/+0
|
* Drop empty .cpp files for header-only classesRémi Verschelde2016-06-181-30/+0
| | | | Part of #5272
* Drop empty files that are not used anywhereRémi Verschelde2016-06-182-64/+0
| | | | Part of #5272
* First version of ProfilerJuan Linietsky2016-05-211-0/+1
| | | | | It is now possible to profile GDScript as well as some parts of Godot internals.
* math: Fix rounding error for 0 in Math::round (#4495)Rémi Verschelde2016-05-011-1/+3
| | | | Thus revert the previous workaround in commit b123bc4a2a9c07fcfd27a84109960bda158b3b9d. Fixes #3221.
* remove trailing whitespaceHubert Jarosz2016-03-0921-738/+738
|
* Correct octree's AABB intersect test, fixes #3576 and #3253sheepandshepherd2016-02-172-6/+24
|
* Fixed the decimals function, it can't be perfect but it should be good ↵Juan Linietsky2016-01-031-2/+8
| | | | enough. Closes #1955
* Update copyright to 2016 in headersGeorge Marques2016-01-0135-35/+35
|
* removed wron return types, fixes #2483reduz2015-12-291-1/+0
| | | | removed console, which was obsolete and unused sine long long ago
* implement point cloud function using convex hull for ConvexPolygonShape2D, ↵Juan Linietsky2015-12-141-0/+31
| | | | fixes #2848
* -remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky2015-11-192-3/+3
|
* Merge pull request #2707 from akien-mga/masterJuan Linietsky2015-11-181-2/+0
|\ | | | | Cosmetic fixes to SCons buildsystem
| * Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-2/+0
| | | | | | | | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
* | Implement Quat multiply operator, and xform methodFranklin Sobrinho2015-11-111-1/+1
|/
* Merge pull request #2266 from MrGreenTea/masterJuan Linietsky2015-10-171-9/+21
|\ | | | | added floor() and ceil() to Vector3
| * added floor() and ceil() to Vector3MrGreenTea2015-07-151-9/+21
| |
* | Fix some copy-paste mistakes in linear/db volume functionsRémi Verschelde2015-09-261-2/+2
|/
* Changed floats to 'real_t'.James McLean2015-06-111-11/+9
|
* Changed 'scale' to 'scale_basis' in 'interpolate_with'.James McLean2015-06-111-1/+1
|
* Implemented interpolation for affine transformations ↵James McLean2015-06-111-2/+34
| | | | (Matrix32::interpolate_with)
* new file dialog!Juan Linietsky2015-06-061-0/+23
| | | | | | | | | -ItemList control for easier lists/thumbnails -New file dialog, with support for thumbnails, favorites, recent places, etc -Moved .fscache out of the project, no more bugs due to committed/pulled .fscache! -Dir dialog now sorts directories
* optional formal changesehriche2015-05-061-3/+4
|
* -Fixes from source code analyzizer, closes #1768Juan Linietsky2015-05-011-2/+2
|
* Corrected rectangle intersection, fixes #1731Juan Linietsky2015-04-242-10/+10
|
* -try to avoid errors when path using ".." is present in script include, ↵Juan Linietsky2015-04-182-2/+2
| | | | fixes #1703
* Updated copyright year in all headersJuan Linietsky2015-04-1833-678/+678
|
* -fix vector rotation, fixes #1705Juan Linietsky2015-04-181-17/+2
|
* -Changed the cubic interpolator, improves situation with PathFollow in #1659Juan Linietsky2015-04-131-1/+18
|
* Merge pull request #1380 from ElectricSolstice/wparentheses_removalJuan Linietsky2015-03-221-2/+2
|\ | | | | Changed code to remove gcc -Wparentheses warnings.
| * Changed code to remove gcc -Wparentheses warnings.ElectricSolstice2015-02-161-2/+2
| |
* | support for 2D shadow castersJuan Linietsky2015-03-021-1/+18
| | | | | | | | | | | | | | | | | | | | Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
* | support for light and normal mapping in 2DJuan Linietsky2015-02-181-2/+160
|/
* begin new serialization frameworkJuan Linietsky2015-02-152-181/+185
| | | | also got rid of STL dependency on triangulator
* New Navigation & Pathfinding support for 2DJuan Linietsky2015-02-143-0/+1866
| | | | | | | -Added Navigation & NavigationPolygon nodes -Added corresponding visual editor -New pathfinding algorithm is modern and fast! -Similar API to 3D Pathfinding (more coherent)
* FixesJuan Linietsky2014-12-201-1/+1
| | | | | | | | -=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
* Small batch of fixesJuan Linietsky2014-12-151-1/+5
| | | | | | | -=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
* -Much improvement to baked light bakerJuan Linietsky2014-10-271-1/+1
| | | | | | | -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender
* - Fix issue #802: randomize() now generate non-zero seed during the first ↵Guy Rabiller2014-10-271-1/+1
| | | | hour of every days, the first minute of every hours and the first second of every minutes.
* Little BitsJuan Linietsky2014-10-121-0/+1
| | | | | | | | | | | | | | | | | | | -=-=-=-=-=- -fix duplicate function bug when creating script callback in editor -fix bug where hiding lights does not work -fix 2D audio listener bug (romulox_x reported) -fix exported properties with inheritance bug -fix timer autostart (make it not work on editor) -reactivate first camara found if viewport runs out of active camera -option to hide gizmos in viewport -changed skeleton gizmo because it sucks -Make convex shapes using CollisionShape visible (use quickhull class) -fix up menu when editing a mesh, to export collision, navmesh, convex, etc. from it. -make a menu option to show SRGB in 3D editor views by default -make option to edit default light direction in viewport settings -make option to edit default ambient light in viewport settings -make software conversion of linear->RGB if hardware support not found
* Build System ChangesJuan Linietsky2014-10-071-0/+53
| | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.
* Huge Amount of BugFixJuan Linietsky2014-10-032-1/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=- -Fixes to Collada Exporter (avoid crash situtions) -Fixed to Collada Importer (Fixed Animation Optimizer Bugs) -Fixes to RigidBody/RigidBody2D body_enter/body_exit, was buggy -Fixed ability for RigidBody/RigidBody2D to get contacts reported and bodyin/out in Kinematic mode. -Added proper trigger support for 3D Physics shapes -Changed proper value for Z-Offset in OmniLight -Fixed spot attenuation bug in SpotLight -Fixed some 3D and 2D spatial soudn bugs related to distance attenuation. -Fixed bugs in EventPlayer (channels were muted by default) -Fix in ButtonGroup (get nodes in group are now returned in order) -Fixed Linear->SRGB Conversion, previous algo sucked, new algo works OK -Changed SRGB->Linear conversion to use hardware if supported, improves texture quality a lot -Fixed options for Y-Fov and X-Fov in camera, should be more intuitive. -Fixed bugs related to viewports and transparency Huge Amount of New Stuff: -=-=-=-=-=-=-=-==-=-=-=- -Ability to manually advance an AnimationPlayer that is inactive (with advance() function) -More work in WinRT platform -Added XY normalmap support, imports on this format by default. Reduces normlmap size and enables much nice compression using LATC -Added Anisotropic filter support to textures, can be specified on import -Added support for Non-Square, Isometric and Hexagonal tilemaps in TileMap. -Added Isometric Dungeon demo. -Added simple hexagonal map demo. -Added Truck-Town demo. Shows how most types of joints and vehicles are used. Please somebody make a nicer town, this one is too hardcore. -Added an Object-Picking API to both RigidBody and Area! (and relevant demo)
* Camera FixesJuan Linietsky2014-09-152-4/+5
| | | | | | | | | | | -=-=-=-=-=-= -Object Picking and orthogonal camera related functions fixed (i hope) -Going to preview mode in the camera shows a frame with the correct game aspect ratio -Changed Camera API and properties a little t make it more straightforward -Fixed bug in shader compiler. -Fixed bug in ShaderGL