Effect swirl is now shown with clock.

This commit is contained in:
2019-09-25 06:33:26 +02:00
parent b8f39410c9
commit 1cd94ac4ae
2 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,9 @@
#include "effect_twirl.h"
#include "functions.h"
boolean TwirlEffect::can_be_shown_with_clock() { return true; };
boolean TwirlEffect::clock_as_mask() { return true; };
void TwirlEffect::loop() {
double center_x = _real_center_x; // - (cos8(_center_offset_angle)>>6);
double center_y = _real_center_y; // + (sin8(_center_offset_angle)>>6);