aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/color_ramp.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Gradient: fix wrong property typePoommetee Ketson2018-02-031-2/+2
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Fix color_ramp indexing negative elementsHein-Pieter van Braam2017-08-211-2/+2
| | | | | | | | | | | The 'pos' variable passed to get_color() and get_offset() can be negative if the color ramp itself is empty. This causes a lookup in an empty position in the color Vector which leads to a crash. We add a check so we never do a lookup in the color Vector if the gradient is empty. This fixes #10501
* Fixes method definitions with extra number of argumentsIgnacio Etcheverry2017-08-101-1/+1
|
* -Added .hdr format supportJuan Linietsky2017-05-281-28/+28
| | | | | | -Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-48/+38
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-12/+12
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-2/+2
| | | | This saves typing and is a step towards fixing #56
* Added Line2D node that draws a polygon-based lineMarc Gilleron2017-01-151-0/+8
| | | | | | It supports unlimited width, color gradient, texture and some geometry options for joints and caps. Also transparency without artifacts (provided that line joints aren't too sharp).
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-12/+12
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* 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 missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-4/+28
| | | Also removes a couple wrong Godot headers from third-party source files.
* added proper functions to ColorRamp, fixes #3034Juan Linietsky2015-12-121-0/+34
|
* Inline get_color_at_offset(). Delete unnecessary check.Biliogadafr2015-05-281-48/+0
|
* Add get_color_at_offset(). Ensure correct points order.Biliogadafr2015-05-261-9/+63
|
* Replace color phases with color ramp for Particles2D.Biliogadafr2015-05-241-0/+111