Skip to content

Commit

Permalink
made the circle grid in meters depending on room size constant
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwitte committed Jun 19, 2024
1 parent 90e3b29 commit d68a157
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/ui/PannerVisualisation.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define BINAURALPANNER_PANNER_H

#include <JuceHeader.h>
#include "../Constants.h"

class PannerVisualisation : public juce::Component {
public:
Expand Down Expand Up @@ -33,8 +34,8 @@ class PannerVisualisation : public juce::Component {
float smallCircleRadius;

private:
const int numberOfCircles = 4;
const int reductionDivide = 10;
const int numberOfCircles = HALF_CUBE_EDGE_LENGTH;
const int reductionDivide = CUBE_EDGE_LENGTH + 2;
const float initLineThickness = 1.5f;

bool mouseIsActive = false;
Expand Down

0 comments on commit d68a157

Please sign in to comment.