Skip to content

Commit e3950a5

Browse files
committed
extra-animations: vortex: Fix up geometry
1 parent a95e33a commit e3950a5

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/extra-animations/vortex.hpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class vortex_transformer : public wf::scene::view_2d_transformer_t
175175
0.0f, 1.0f,
176176
};
177177

178-
static const float vertex_data_pos[] = {
178+
const float vertex_data_pos[] = {
179179
(float)src_box.x,
180180
(float)src_box.y + (float)src_box.height,
181181
(float)src_box.x + (float)src_box.width,
@@ -218,11 +218,6 @@ class vortex_transformer : public wf::scene::view_2d_transformer_t
218218
});
219219
}
220220

221-
wf::geometry_t get_bounding_box() override
222-
{
223-
return this->animation_geometry;
224-
}
225-
226221
wf::effect_hook_t pre_hook = [=] ()
227222
{
228223
output->render->damage(animation_geometry);

0 commit comments

Comments
 (0)