Skip to content

Commit a1d3f54

Browse files
committed
Fix head orientation in 3D view
1 parent 1759b0c commit a1d3f54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/components/RoomComponent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void RoomComponent::paint (juce::Graphics& g)
8787

8888
// Draw listener orientation arrow
8989
const float arrowLength = 0.1f; // Length of arrow in normalized room coordinates
90-
float listenerO_rad = juce::degreesToRadians(listenerO);
90+
float listenerO_rad = juce::degreesToRadians(-listenerO);
9191

9292
// Calculate the arrow tip position in 3D space
9393
// The orientation is a rotation in the XY plane (around the Z axis)

0 commit comments

Comments
 (0)