| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
Happy new year to the wonderful Godot community!
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation
for those platforms.
Took the opportunity to run clang-format on the code base to fix some corner cases
that went through our static tests/were overlooked recently.
|
| |\
| |
| | |
Added new Wrap functions for numbers
|
| | | |
|
| |\ \
| |/
|/| |
Added snapping to spatial drag and drop.
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
5.x era.
Fixes #9166.
|
| |\
| |
| | |
Add ETC1/ETC2 compression support though etc2comp.
|
| | |
| |
| |
| |
| |
| | |
Remove rg-etc1 code. Also updated travis to use ubuntu 14.04.
Fixes #8457.
|
| |/
|
|
| |
Compiler
|
| |
|
|
|
|
| |
-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
|
| | |
|
| |\
| |
| | |
Added various functions basic math classes. Also enabled math checks …
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes HashMap where a key or part of a key is a floating point
number. To fix this the following has been done:
* HashMap now takes an extra template argument Comparator. This class
gets used to compare keys. The default Comperator now works correctly
for common types and floating point numbets.
* Variant implements ::hash_compare() now. This function implements
nan-safe comparison for all types with components that contain floating
point numbers.
* Variant now has a VariantComparator which uses Variant::hash_compare()
safely compare floating point components of variant's types.
* The hash functions for floating point numbers will now normalize NaN
values so that all floating point numbers that are NaN hash to the same
value.
C++ module writers that want to use HashMap internally in their modules
can now also safeguard against this crash by defining their on
Comperator class that safely compares their types.
GDScript users, or writers of modules that don't use HashMap internally
in their modules don't need to do anything.
This fixes #7354 and fixes #6947.
|
| |\
| |
| | |
Use real_t rather than float or double in generic functions (core/mat…
|
| | |
| |
| |
| |
| |
| | |
than float or double in generic functions (core/math) whenever possible.
Also inlined some more math functions.
|
| |/ |
|
| |
|
|
|
|
| |
with 32-bit output, 64-bit state).
PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
|
| | |
|
| |
|
|
|
|
|
|
| |
Also fixes Euler angles (XYZ convention, which is used as default by Blender).
Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly.
This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
|
| |\
| |
| |
| |
| | |
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
|
| | | |
|
| | |
| |
| |
| | |
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
|
| |/
|
|
|
|
|
|
| |
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!
|
| |
|
|
| |
issues.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
-=-=-=
-Added missing quaternion constructor
-code completion fixes
-winrt fixes
|
| |
|
|
|
|
|
| |
-=-=-=-=-=-=-=-=-=-=
-Fixed looping error in AudioStreamResampled
-winrt port progress
-fixes in material in ambient light
|
| | |
|
| |
|