File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
gdnative-core/src/core_types/geom Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12
12
- Changed supported Godot version to 3.5.1 ([ #910 ] ( https://github.com/godot-rust/godot-rust/pull/910 ) )
13
13
- MSRV is now 1.63 ([ #910 ] ( https://github.com/godot-rust/godot-rust/pull/910 ) )
14
14
15
+ ### Removed
16
+
17
+ - ` Transform2D::from_rotation_translation_scale() ` constructor needs more intuitive API ([ #910 ] ( https://github.com/godot-rust/godot-rust/pull/910 ) )
18
+
19
+
15
20
## [ 0.10.2] - unreleased
16
21
17
22
Last maintenance release for Godot 3.4.
Original file line number Diff line number Diff line change @@ -75,19 +75,6 @@ impl Transform2D {
75
75
}
76
76
}
77
77
78
- /// Constructs the transform from a given angle (in radians), translation, and scale.
79
- #[ inline]
80
- pub fn from_rotation_translation_scale (
81
- translation : Vector2 ,
82
- rotation : f32 ,
83
- scale : Vector2 ,
84
- ) -> Self {
85
- Self :: IDENTITY
86
- . translated ( translation)
87
- . rotated ( rotation)
88
- . scaled ( scale)
89
- }
90
-
91
78
/// Returns the inverse of the transform, under the assumption that the transformation is composed of rotation, scaling and translation.
92
79
#[ inline]
93
80
pub fn affine_inverse ( & self ) -> Self {
You can’t perform that action at this time.
0 commit comments