more refactoring and breaking things

This commit is contained in:
Sebastian
2026-01-06 02:44:18 +01:00
parent f086834da6
commit 77a227f40d
25 changed files with 2416 additions and 2304 deletions
+4 -18
View File
@@ -35,24 +35,10 @@ namespace VISEQ::SIGNAL {
int midi_note_offset = 0;
int midi_cc_offset = 0;
void reset(){
toStart();
}
void toStart(){
position = start.lock()->position;
}
void update(double t_delta){
// 120px / 16th = 1920px / whole note
// whole note = 2s at 120bpm
// 960px / s
if(run) position += direction.norm() * speed * multiplier * (float)t_delta / 1000000.0f;
}
void draw(Vec2Df mouse, Camera2D cam) {
DrawCircle(position.x, position.y, radius, color);
}
void reset();
void toStart();
void update(double t_delta);
void draw(Vec2Df mouse, Camera2D cam) ;
};
}