summaryrefslogtreecommitdiffstats
path: root/src/core/Vector2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace bindgins to work with extensionsGeorge Marques2021-09-271-100/+0
|
* Add license headers to all source and header filesHugo Locurcio2021-08-021-0/+30
| | | | | | This is consistent with the core Godot source code, and ensures the license isn't detached from its original code when individual files are distributed.
* Populates incorrect constants for Vector2 and 3 types.Erik Abair2021-05-021-3/+3
|
* Added missing constants to Vector2, Vector3, Basis and QuatMarc Gilleron2020-12-081-0/+9
|
* Fix snapped from Vector2RameshRavone2019-05-021-6/+0
|
* Make Basis look column-major while retaining a row-major representationDaniel Rakos2019-04-081-152/+0
| | | | | | | | | | | | | | | | | | | | | | | Per https://github.com/godotengine/godot/issues/14553: Godot stores Basis in row-major layout for more change for efficiently taking advantage of SIMD instructions, but in scripts Basis looks like and is accessible in a column-major format. This change modifies the C++ binding so that from the script's perspective Basis does look like if it was column-major while retaining a row-major in-memory representation. This is achieved using a set of helper template classes which allow accessing individual columns whose components are non-continues in memory as if it was a Vector3 type. This ensures script interface compatibility without needing to transpose the Basis every time it is passed over the script-engine boundary. Also made most of the Vector2 and Vector3 class interfaces inlined in the process for increased performance. While unrelated (but didn't want to file a separate PR for it), this change adds the necessary flags to have debug symbol information under MSVC. Fixes #241.
* Implementing clang-format and applying it to all classesBastiaan Olij2018-11-241-102/+62
|
* Fix issue where Vector2::normalize() did not normalize correctlyChristoffer2018-09-031-1/+1
|
* String and math fixesMarc Gilleron2018-01-231-1/+1
| | | | | | | | - Added missing static String constructors - Implemented String operator for math types - Added XYZ and YXZ euler angles methods - Fixed wrong det checks in Basis - Fixed operator Quat in Basis
* updated bindingsRamesh Ravone2017-10-031-1/+1
|
* updated to use the new NativeScript and GDNative interfaceKarroffel2017-07-241-1/+1
|
* rewrote binding generator in pythonKarroffel2017-05-121-0/+259