summaryrefslogtreecommitdiffstats
path: root/modules/mono/glue/Managed/Files/Vector3.cs
Commit message (Collapse)AuthorAgeFilesLines
* Mono/C#: Re-structure API solution and GodotTools post-build targetIgnacio Etcheverry2019-12-281-549/+0
| | | | | | | | | | | | | | | | | | | | | | Previously we had a placeholder solution called 'Managed' to benefit from tooling while editing the a part of the C# API. Later the bindings generator would create the final 'GodotSharp' solution including these C# files as well as the auto-generated C# API. Now we replaced the 'Managed' solution with the final 'GodotSharp' solution which is no longer auto-generated, and the bindings generator only takes care of the auto-generated C# API. This has the following benefits: - It's less confusing as there will no longer be two versions of the same file (the original and a generated copy of it). Now there's only one. - We no longer need placeholder for auto-generated API classes, like Node or Resource. We used them for benefiting from tooling. Now we can just use the auto-generated API itself. - Simplifies the build system and bindings generator. Removed lot of code that is not needed anymore. Also added a post-build target to the GodotTools project to copy the output to the data dir. This makes it easy to iterate when doing changes to GodotTools, as SCons doesn't have to be executed anymore just to copy these new files.
* Expose is_equal_approx and restore == to be exact againAaron Franke2019-10-141-1/+1
| | | | | | This commit changes behavior for GDScript and C#. Also did some organizing of the order to logically group related methods, mostly for Rect2 and AABB.
* Make is_equal_approx separate for structuresAaron Franke2019-10-141-0/+5
| | | | This commit adds exposed behavior for C#
* Add Vector2/3 sign and posmod functions, misc additionsAaron Franke2019-08-171-0/+46
| | | | Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
* [Mono] Make all structs seralizableAaron Franke2019-08-071-0/+1
|
* [Mono] Deprecate Set methodsAaron Franke2019-07-281-0/+2
| | | | | | These silently fail, so they should be removed. I accidentally added most of these last year, trying to make everything else consistent with Quat, sorry! Also, a few tiny nitpicking changes are included, like whitespace and misspellings.
* Added move_toward functions for float, Vector2 and Vector3Giacom2019-05-281-0/+8
|
* [Mono] Approximate equalityAaron Franke2019-04-251-11/+12
|
* Added direction_to method to vectorsChaosus2019-04-051-0/+5
|
* C#: Replace calls to old of old Basis(Vec3,Vec3,Vec3) constructorIgnacio Etcheverry2018-11-201-3/+3
|
* Remove trailing whitespaceRémi Verschelde2018-11-201-3/+3
| | | | | With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
* Move modules/mono/glue/cs_files to modules/mono/glue/Managed/FilesIgnacio Etcheverry2018-09-121-0/+481
Added dummy MSBuild project and solution to get tooling help when editing these files.