summaryrefslogtreecommitdiffstats
path: root/scene/3d/collision_polygon.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-11 00:52:51 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-11 00:52:51 -0300
commitbc26f905817945300d397696330d1ab04a1af33c (patch)
treed06338399c8ea410042f6631fb3db3efcc100b05 /scene/3d/collision_polygon.h
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
downloadredot-engine-bc26f905817945300d397696330d1ab04a1af33c.tar.gz
Type renames:
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
Diffstat (limited to 'scene/3d/collision_polygon.h')
-rw-r--r--scene/3d/collision_polygon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/collision_polygon.h b/scene/3d/collision_polygon.h
index 8373832699..693cf0640a 100644
--- a/scene/3d/collision_polygon.h
+++ b/scene/3d/collision_polygon.h
@@ -48,7 +48,7 @@ protected:
float depth;
- AABB aabb;
+ Rect3 aabb;
BuildMode build_mode;
Vector<Point2> polygon;
@@ -78,7 +78,7 @@ public:
void set_polygon(const Vector<Point2>& p_polygon);
Vector<Point2> get_polygon() const;
- virtual AABB get_item_rect() const;
+ virtual Rect3 get_item_rect() const;
int get_collision_object_first_shape() const { return shape_from; }
int get_collision_object_last_shape() const { return shape_to; }