mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #86364 from aaronfranke/basis-divide
Add and expose Basis/Transform2D/3D division by float operator
This commit is contained in:
@@ -286,6 +286,20 @@
|
||||
This operator multiplies all components of the [Transform2D], including the [member origin] vector, which scales it uniformly.
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator /">
|
||||
<return type="Transform2D" />
|
||||
<param index="0" name="right" type="float" />
|
||||
<description>
|
||||
This operator divides all components of the [Transform2D], including the [member origin] vector, which inversely scales it uniformly.
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator /">
|
||||
<return type="Transform2D" />
|
||||
<param index="0" name="right" type="int" />
|
||||
<description>
|
||||
This operator divides all components of the [Transform2D], including the [member origin] vector, which inversely scales it uniformly.
|
||||
</description>
|
||||
</operator>
|
||||
<operator name="operator ==">
|
||||
<return type="bool" />
|
||||
<param index="0" name="right" type="Transform2D" />
|
||||
|
||||
Reference in New Issue
Block a user