godot_core/builtin/math/xform.rs
1/*
2 * Copyright (c) godot-rust; Bromeon and contributors.
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
6 */
7
8/// Applying inverse transforms.
9///
10/// See also: [`Transform2D`](crate::builtin::Transform2D), [`Transform3D`](crate::builtin::Transform3D), [`Basis`](crate::builtin::Basis).
11///
12/// _Godot equivalent: `rhs * mat`_
13pub trait XformInv<T>: std::ops::Mul<T> {
14 fn xform_inv(&self, rhs: T) -> T;
15}