Virtualx Game Engine. Forked from Godot 3.6
Find a file
Ferenc Arn 6b1252cdfa Fix the order in which additional transformations are applied in Matrix3 and 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).
2017-01-08 10:36:14 -06:00
bin ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
core Fix the order in which additional transformations are applied in Matrix3 and Transform. 2017-01-08 10:36:14 -06:00
doc Fix the order in which additional transformations are applied in Matrix3 and Transform. 2017-01-08 10:36:14 -06:00
drivers ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
main ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
modules Merge branch 'master' of https://github.com/godotengine/godot 2017-01-04 01:17:41 -03:00
platform ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
scene Fix the order in which additional transformations are applied in Matrix3 and Transform. 2017-01-08 10:36:14 -06:00
servers Merge branch 'master' of https://github.com/godotengine/godot 2017-01-04 01:17:41 -03:00
thirdparty Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
tools Fix the order in which additional transformations are applied in Matrix3 and Transform. 2017-01-08 10:36:14 -06:00
.editorconfig Add .editorconfig 2015-06-22 14:07:26 -03:00
.gitattributes GH linguist: properly detect .inc files as C++ 2016-07-03 15:17:25 +02:00
.gitignore adds gles3 auto generated shader header files 2016-11-30 00:35:04 +01:00
.travis.yml Travis: Disable OSX and iOS temporarily 2017-01-03 14:42:26 +01:00
CONTRIBUTING.md Add missing commit title in the log example 2016-11-16 13:08:28 +01:00
icon.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
icon.svg Remove grey capsule on official logo 2016-02-28 16:52:45 +01:00
ISSUE_TEMPLATE Issue template: ask for Godot version 2016-05-06 13:31:59 +02:00
LICENSE.md Welcome in 2017, dear changelog reader! 2017-01-01 22:03:33 +01:00
logo.png Fixed iCCp chunk in pngs 2016-06-22 21:13:29 +02:00
logo.svg Remove grey capsule on official logo 2016-02-28 16:52:45 +01:00
LOGO_LICENSE.md logo in svg curves & license 2015-06-08 01:33:46 -03:00
methods.py Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
prop_renames.txt -Conversion of most properties to a simpler syntax, easier to use by script 2017-01-04 01:16:14 -03:00
README.md Rewrite the README to be more descriptive 2016-11-03 19:29:31 +01:00
SConstruct Merge remote-tracking branch 'origin/gles3' into gles3-on-master 2017-01-02 21:52:26 +01:00
version.py Bump version to 3.0-alpha 2017-01-02 23:02:25 +01:00

GODOT

Godot Engine

Homepage: https://godotengine.org

2D and 3D cross-platform game engine

Godot Engine is a feature-packed, cross-platform game engine to create 2D and 3D games from a unified interface. It provides a comprehensive set of common tools, so that users can focus on making games without having to reinvent the wheel. Games can be exported in one click to a number of platforms, including the major desktop platforms (Linux, Mac OSX, Windows) as well as mobile (Android, iOS) and web-based (HTML5) platforms.

Free, open source and community-driven

Godot is completely free and open source under the very permissive MIT license. No strings attached, no royalties, nothing. The users' games are theirs, down to the last line of engine code. Godot's development is fully independent and community-driven, empowering users to help shape their engine to match their expectations. It is supported by the Software Freedom Conservancy not-for-profit.

Before being open sourced in February 2014, Godot had been developed by Juan Linietsky and Ariel Manzur (both still maintaining the project) for several years as an in-house engine, used to publish several work-for-hire titles.

Getting the engine

Binary downloads

Official binaries for the Godot editor and the export templates can be found on the homepage.

Compiling from source

See the official docs for compilation instructions for every supported platform.

Community

Godot is not only an engine but an ever-growing community of users and engine developers. The main community channels are listed on the homepage.

To get in touch with the developers, the best way is to join the #godotengine IRC channel on Freenode.

Documentation and demos

The official documentation is hosted on ReadTheDocs. It is maintained by the Godot community in its own GitHub repository.

The class reference is also accessible from within the engine.

The official demos are maintained in their own GitHub repository as well.

There are also a number of other learning resources provided by the community, such as text and video tutorials, demos, etc. Consult the community channels for more info.

Build Status Code Triagers Badge