summaryrefslogtreecommitdiff
path: root/core/math
AgeCommit message (Collapse)Author
2016-07-24Turn some prints to error logs, remove othersRémi Verschelde
Fixes #5876 in passing.
2016-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-06-22Improved binding system (ObjectTypeDB::bind_method) to be friendlier to ↵Juan Linietsky
statically typed languages, should help in the Mono integration. Disabled by default.
2016-06-19Remove USE_QUAD_VECTORS unused checkJ08nY
2016-06-18Drop empty .cpp files for header-only classesRémi Verschelde
Part of #5272
2016-06-18Drop empty files that are not used anywhereRémi Verschelde
Part of #5272
2016-05-21First version of ProfilerJuan Linietsky
It is now possible to profile GDScript as well as some parts of Godot internals.
2016-05-01math: Fix rounding error for 0 in Math::round (#4495)Rémi Verschelde
Thus revert the previous workaround in commit b123bc4a2a9c07fcfd27a84109960bda158b3b9d. Fixes #3221.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-17Correct octree's AABB intersect test, fixes #3576 and #3253sheepandshepherd
2016-01-03Fixed the decimals function, it can't be perfect but it should be good ↵Juan Linietsky
enough. Closes #1955
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-29removed wron return types, fixes #2483reduz
removed console, which was obsolete and unused sine long long ago
2015-12-14implement point cloud function using convex hull for ConvexPolygonShape2D, ↵Juan Linietsky
fixes #2848
2015-11-19-remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260Juan Linietsky
2015-11-18Merge pull request #2707 from akien-mga/masterJuan Linietsky
Cosmetic fixes to SCons buildsystem
2015-11-11Implement Quat multiply operator, and xform methodFranklin Sobrinho
2015-11-01Cosmetic fixes to SCons buildsystemRémi Verschelde
- Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
2015-10-17Merge pull request #2266 from MrGreenTea/masterJuan Linietsky
added floor() and ceil() to Vector3
2015-09-26Fix some copy-paste mistakes in linear/db volume functionsRémi Verschelde
2015-07-15added floor() and ceil() to Vector3MrGreenTea
2015-06-11Changed floats to 'real_t'.James McLean
2015-06-11Changed 'scale' to 'scale_basis' in 'interpolate_with'.James McLean
2015-06-11Implemented interpolation for affine transformations ↵James McLean
(Matrix32::interpolate_with)
2015-06-06new file dialog!Juan Linietsky
-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
2015-05-06optional formal changesehriche
2015-05-01-Fixes from source code analyzizer, closes #1768Juan Linietsky
2015-04-24Corrected rectangle intersection, fixes #1731Juan Linietsky
2015-04-18-try to avoid errors when path using ".." is present in script include, ↵Juan Linietsky
fixes #1703
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-04-18-fix vector rotation, fixes #1705Juan Linietsky
2015-04-13-Changed the cubic interpolator, improves situation with PathFollow in #1659Juan Linietsky
2015-03-22Merge pull request #1380 from ElectricSolstice/wparentheses_removalJuan Linietsky
Changed code to remove gcc -Wparentheses warnings.
2015-03-02support for 2D shadow castersJuan Linietsky
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.
2015-02-18support for light and normal mapping in 2DJuan Linietsky
2015-02-16Changed code to remove gcc -Wparentheses warnings.ElectricSolstice
2015-02-15begin new serialization frameworkJuan Linietsky
also got rid of STL dependency on triangulator
2015-02-14New Navigation & Pathfinding support for 2DJuan Linietsky
-Added Navigation & NavigationPolygon nodes -Added corresponding visual editor -New pathfinding algorithm is modern and fast! -Similar API to 3D Pathfinding (more coherent)
2014-12-20FixesJuan Linietsky
-=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
2014-12-15Small batch of fixesJuan Linietsky
-=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
2014-10-27-Much improvement to baked light bakerJuan Linietsky
-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
2014-10-27- Fix issue #802: randomize() now generate non-zero seed during the first ↵Guy Rabiller
hour of every days, the first minute of every hours and the first second of every minutes.
2014-10-12Little BitsJuan Linietsky
-=-=-=-=-=- -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
2014-10-07Build System ChangesJuan Linietsky
-=-=-=-=-=-=-=-=-=-= 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.
2014-10-03Huge Amount of BugFixJuan Linietsky
-=-=-=-=-=-=-=-=-=-=- -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)
2014-09-15Camera FixesJuan Linietsky
-=-=-=-=-=-= -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
2014-09-153D Physics Rework, Other StuffJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-=- 3D Physics: -Fixed "Bounce" parameter in 3D -Fixed bug affecting Area (sometims it would not detect properly) -Vehicle Body has seen heavy work -Added Query API for doing space queries in 3D. Needs some docs though. -Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up: -PinJoint -HingeJoint (with motor) -SliderJoint -ConeTwistJoint -Generic6DOFJoint -Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions: -input_event (mouse or multitouch input over the body) -mouse_enter (mouse entered the body area) -mouse_exit (mouse exited body area) For Area it needs to be activated manually, as it isn't by default (ray goes thru). Other: -Begun working on Windows 8 (RT) port. Compiles but does not work yet. -Added TheoraPlayer library for improved to-texture and portable video support. -Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
2014-09-023D Physics and Other StuffJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-= -New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too. -A lot of fixes to the 3D physics engine -Added KinematicBody with demo -Fixed the space query API for 2D (demo will come soon). 3D is WIP. -Fixed long-standing bug with body_enter/body_exit for Area and Area2D -Performance variables now includes physics (active bodies, collision pairs and islands) -Ability to see what's inside of instanced scenes! -Fixed Blend Shapes (no bs+skeleton yet) -Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
2014-08-01Small Issues & MaintenanceJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-= -Begin work on Navigation Meshes (simple pathfinding for now, will improve soon) -More doc on theme overriding -Upgraded OpenSSL to version without bugs -Misc bugfixes
2014-07-062D Animation ImprovementsJuan Linietsky
-=-=-=-=-=-=-=-=-=--=-=-= -Ability to set 2D nodes as bones -Abity to set 2D nodes as IK chains -2D IK Solver -Improvements in the UI for adding keyframes (separate loc,rot,scale buttons)