diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2019-09-01 14:34:51 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2019-09-01 14:34:51 +0300 |
commit | 08272585e9daa3dfb4988e7f495212ffe5979bfc (patch) | |
tree | 2f238ecbe6b1fea1f587e9d606e192a2843c8803 /doc/classes | |
parent | a758175da8d2ebad0769fc45679fabe8ef7eacd8 (diff) |
Remove redundant transform method in Geometry singleton
Transform2D's xform method can be used instead which handles
`PoolVector2Array` now (as well as 3D version).
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Geometry.xml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/classes/Geometry.xml b/doc/classes/Geometry.xml index 5c5be6c44f..3824baa4dc 100644 --- a/doc/classes/Geometry.xml +++ b/doc/classes/Geometry.xml @@ -441,18 +441,6 @@ Tests if the segment ([code]from[/code], [code]to[/code]) intersects the triangle [code]a[/code], [code]b[/code], [code]c[/code]. If yes, returns the point of intersection as [Vector3]. If no intersection takes place, an empty [Variant] is returned. </description> </method> - <method name="transform_points_2d"> - <return type="PoolVector2Array"> - </return> - <argument index="0" name="points" type="PoolVector2Array"> - </argument> - <argument index="1" name="transform" type="Transform2D"> - </argument> - <description> - Transforms an array of points by [code]transform[/code] and returns the result. - Can be useful in conjunction with performing polygon boolean operations in a CSG-like manner, see [method merge_polygons_2d], [method clip_polygons_2d], [method intersect_polygons_2d], [method exclude_polygons_2d]. - </description> - </method> <method name="triangulate_delaunay_2d"> <return type="PoolIntArray"> </return> |