summaryrefslogtreecommitdiff
path: root/servers/visual/visual_server_viewport.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 /servers/visual/visual_server_viewport.h
parent710692278d1353aad08bc7bceb655afc1d6c950c (diff)
Type renames:
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
Diffstat (limited to 'servers/visual/visual_server_viewport.h')
-rw-r--r--servers/visual/visual_server_viewport.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/visual/visual_server_viewport.h b/servers/visual/visual_server_viewport.h
index 3b14ee2b1c..ff4bc2601d 100644
--- a/servers/visual/visual_server_viewport.h
+++ b/servers/visual/visual_server_viewport.h
@@ -56,11 +56,11 @@ public:
struct CanvasData {
CanvasBase *canvas;
- Matrix32 transform;
+ Transform2D transform;
int layer;
};
- Matrix32 global_transform;
+ Transform2D global_transform;
Map<RID,CanvasData> canvas_map;
@@ -128,10 +128,10 @@ public:
void viewport_set_scenario(RID p_viewport,RID p_scenario);
void viewport_attach_canvas(RID p_viewport,RID p_canvas);
void viewport_remove_canvas(RID p_viewport,RID p_canvas);
- void viewport_set_canvas_transform(RID p_viewport,RID p_canvas,const Matrix32& p_offset);
+ void viewport_set_canvas_transform(RID p_viewport,RID p_canvas,const Transform2D& p_offset);
void viewport_set_transparent_background(RID p_viewport,bool p_enabled);
- void viewport_set_global_canvas_transform(RID p_viewport,const Matrix32& p_transform);
+ void viewport_set_global_canvas_transform(RID p_viewport,const Transform2D& p_transform);
void viewport_set_canvas_layer(RID p_viewport,RID p_canvas,int p_layer);
void viewport_set_shadow_atlas_size(RID p_viewport,int p_size);