summaryrefslogtreecommitdiffstats
path: root/include/core/Vector2.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace bindgins to work with extensionsGeorge Marques2021-09-271-306/+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.
* Added missing constants to Vector2, Vector3, Basis and QuatMarc Gilleron2020-12-081-0/+15
|
* Added Godot's math functionsMarc Gilleron2020-09-041-4/+20
|
* Merge pull request #371 from NHodgesVFX/VectorBounceReflectFixMarc2020-08-231-2/+2
|\ | | | | Fix Vector's Bounce Reflect
| * Fix Style IssuesNHodgesVFX2020-02-061-1/+1
| |
| * Fix Vector's Bounce ReflectNHodgesVFX2020-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Vector 2 and 3 bounce and reflect methods to match gdscript Co-Authored-By: Bruno Campos <brunocu@msn.com> Move calculation to reflect fix commit squash fix style
* | Add missing move_toward to Vector2 and Vector3Jummit2020-07-151-0/+7
| |
* | Add missing Vector3::direction_to() and Vector2::direction_to()Marc Gilleron2020-06-051-0/+6
|/
* Added bounce to vector2.hpp2shady4u2019-12-271-0/+4
|
* Fix snapped from Vector2RameshRavone2019-05-021-1/+5
|
* Make Basis look column-major while retaining a row-major representationDaniel Rakos2019-04-081-43/+141
| | | | | | | | | | | | | | | | | | | | | | | 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-40/+38
|
* updated bindingsRamesh Ravone2017-10-031-1/+1
|
* updated to use the new NativeScript and GDNative interfaceKarroffel2017-07-241-1/+1
|
* Use static linking instead of dynamic linkingKarroffel2017-07-231-12/+1
|
* rewrote binding generator in pythonKarroffel2017-05-121-0/+139