| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
The other subfolders of tools/ had already been moved to either
editor/, misc/ or thirdparty/, so the hiding the editor code that
deep was no longer meaningful.
|
| |
|
|
|
|
| |
than float or double in generic functions (core/math) whenever possible.
Also inlined some more math functions.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
|
| |\
| |
| | |
Fix the order in which additional transformations are applied
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Transform.
This is a part of the breaking changes proposed in PR #6865, solving the issue regarding the order of affine transformations described in #2565. This PR also fixes the affected code within Godot codebase. Includes improvements to documentation too.
Another change is, Matrix3::get_scale() will now return negative scaling when the determinant of the matrix is negative. The rationale behind this is simple: when performing a polar decomposition on a basis matrix M = R.S, we have to ensure that the determinant of R is +1, such that it is a proper rotation matrix (with no reflections) which can be represented by Euler angles or a quaternion.
Also replaced the few instances of float with real_t in Matrix3 and Transform.
Furthermore, this PR fixes an issue introduced due to the API breakage in #6865. Namely Matrix3::get_euler() now only works with proper rotation matrices. As a result, the code that wants to get the rotation portion of a transform needs to use Matrix3::get_rotation() introduced in this commit, which complements Matrix3::get_scaled(), providing both parts of the polar decomposition.
Finally, it is now possible to construct a rotation matrix from Euler angles using the new constructor Matrix3::Matrix3(const Vector3 &p_euler).
|
| | |
| |
| |
| | |
container!
|
| | |
| |
| |
| | |
item_pressed, closes #3188
|
| |/
|
|
| |
renamed to PoolVector
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |/
|
|
|
|
| |
-Modified help to display properties
GDScript can still not make use of them, though.
|
| |
|
|
|
|
|
|
| |
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()
|
| |\
| |
| |
| |
| | |
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
|
| | | |
|
| |/
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
| |
Mostly removing commented out strings, plus a few critical ones
that should not be translated.
|
| |
|
|
|
|
| |
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
-icons to show node menus
|
| |
|
|
|
|
|
|
|
|
|
| |
-ability to edit multiple scenes at the same time
-resource internal IDs are now persistent, this makes multiple scene
editing possible but maaaaay result in file corruption bugs (tested and
could not find anything but possibility exists because core code
changed, report immediately if you find this).
-properly save settings, layout, etc when edited
-script editing is independent from scene editing now
-show a yellow box when a script belongs to the scene
|
| |\
| |
| | |
Fix toolbar menu position(RichText and MultiMesh plugins)
|
| | | |
|
| |/ |
|
| | |
|
| |
|