oisincar
e5aedf130f
Fix bug with Basis.Transposed()
...
Fix bug where Basis.Transposed() incorrectly updated local basis, and
returned an unmodified copy. This also fixes Transform.Inverse().
(cherry picked from commit 7a4d593198
)
2018-07-28 16:06:30 +02:00
Kelly Thomas
d00926894e
mono: add Slerp method to vector classes, expose Cross method for Vector2, and fix unnecessary casts in Basis
...
(cherry picked from commit b335274bcd
)
2018-06-01 18:05:28 +02:00
Kelly Thomas
8461d6b5f9
Mono: Basis constructor for euler parameter
...
(cherry picked from commit c26d30986a
)
2018-06-01 17:46:38 +02:00
Xavier Cho
d330bee1c2
#18051 : Do not use `var` in a for-loop, or where type is not obvious
...
(cherry picked from commit e59fad3924
)
2018-04-29 13:40:09 +02:00
Xavier Cho
939d50243b
#18051 : Use array initializer when applicable
...
(cherry picked from commit b765c051cb
)
2018-04-29 13:39:34 +02:00
Xavier Cho
57f18194f5
#18051 : Remove redundant parenthesis
...
(cherry picked from commit 9097c71255
)
2018-04-29 13:39:28 +02:00
Xavier Cho
31171ea5a2
#18051 : Use 'var' when applicable
...
(cherry picked from commit fdfc478c88
)
2018-04-29 13:39:08 +02:00
Xavier Cho
e7b97af276
#18051 : Remove redundant casts and 'using', 'else', 'this' statements
...
(cherry picked from commit 0ef3e0577b
)
2018-04-29 13:38:58 +02:00
Chaosus
a29680c25a
[Mono] Improve Mathf
...
(cherry picked from commit 655a4e6540
)
2018-04-15 00:57:14 +02:00
Alexander Alekseev
3a430e46b9
[mono] Fixes #17936 as GodotSharp (Core\Basic.cs) requires C#7 now, but we most probably should keep C#6 yet
...
(cherry picked from commit 5677aed175
)
2018-04-15 00:56:14 +02:00
Carter Anderson
c7adcc8dca
Fix mono basis GetEuler bug and marshalling/unmarshalling
...
(cherry picked from commit 91f271fa9e
)
2018-04-14 23:20:33 +02:00
Aaron Franke
577f3ccaf9
Replace float with real_t, default Vectors, other misc C# improvements
...
Replace float with real_t in most files, defined at the top of each file via using. Objects such as Vector3 now accept doubles as inputs, and convert to real_t internally. I've added default Vectors such as Vector3.Zero. Other misc C# improvements such as Mathf.RoundToInt(). Color continues to use float only because high precision is not needed for 8-bit color math and to keep things simple. Everything seems to compile and work fine, but testing is requested, as this is the first time I've ever contributed to Godot.
(cherry picked from commit ff97c97c93
)
2018-04-14 23:20:03 +02:00
Hein-Pieter van Braam
4e1d19b20c
Revert "[Mono] Basis values now marshalled in the correct order."
...
This reverts commit 9173819b71
.
The fixes for these issues aren't quite baked yet. Taking them out of
3.0.2
2018-02-27 17:52:18 +01:00
Nathan Warden
9173819b71
[Mono] Basis values now marshalled in the correct order.
...
(cherry picked from commit 0cc4de1f24
)
2018-02-19 22:13:45 +01:00
Andreas Haas
e69dd3c712
Mono: Use PascalCase in core types.
2017-11-21 23:32:40 +01:00
Ferenc Arn
8ddbd19777
Apply a few recent chages in Quat and Basis to their respective Mono counterparts. ( #11899 )
2017-10-09 14:49:53 +02:00
Ignacio Etcheverry
e36fb95c50
Added mono module
2017-10-03 00:01:26 +02:00