diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-09-18 19:46:32 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2019-09-18 19:46:32 -0300 |
commit | d81ddaf33ecddab1c83bc964b0bee4328b7f7b06 (patch) | |
tree | d3e07a31f67b0a5aa48e084e6f11899f7480348c /drivers/gles2/rasterizer_storage_gles2.h | |
parent | 2861fd9552c242ef7a98f63312f253e6534c5b34 (diff) |
Added skin support and simplified APIs to override bone position.
Diffstat (limited to 'drivers/gles2/rasterizer_storage_gles2.h')
-rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.h b/drivers/gles2/rasterizer_storage_gles2.h index d139697b86..492e149eaf 100644 --- a/drivers/gles2/rasterizer_storage_gles2.h +++ b/drivers/gles2/rasterizer_storage_gles2.h @@ -868,16 +868,12 @@ public: Set<RasterizerScene::InstanceBase *> instances; Transform2D base_transform_2d; - Transform world_transform; - Transform world_transform_inverse; - bool use_world_transform; Skeleton() : use_2d(false), size(0), tex_id(0), - update_list(this), - use_world_transform(false) { + update_list(this) { } }; @@ -895,7 +891,6 @@ public: virtual void skeleton_bone_set_transform_2d(RID p_skeleton, int p_bone, const Transform2D &p_transform); virtual Transform2D skeleton_bone_get_transform_2d(RID p_skeleton, int p_bone) const; virtual void skeleton_set_base_transform_2d(RID p_skeleton, const Transform2D &p_base_transform); - virtual void skeleton_set_world_transform(RID p_skeleton, bool p_enable, const Transform &p_world_transform); void _update_skeleton_transform_buffer(const PoolVector<float> &p_data, size_t p_size); |