call: fix rotation
Change-Id: I42ce49091d6aede177837a666c5efc1c58724a3a
diff --git a/src/views/CallMTKView.mm b/src/views/CallMTKView.mm
index 00ac3b1..10cf47b 100644
--- a/src/views/CallMTKView.mm
+++ b/src/views/CallMTKView.mm
@@ -183,7 +183,7 @@
projectionMatrix = [self getScalingMatrix: ratio axis: 'y'];
else
projectionMatrix = [self getScalingMatrix: 1/ratio axis: 'x'];
- float radians = (-rotation * M_PI) / 180;
+ float radians = (rotation * M_PI) / 180;
simd::float4x4 rotationMatrix = [self getRotationMatrix:radians];
Uniforms bytes = Uniforms{projectionMatrix: projectionMatrix, rotationMatrix: rotationMatrix};
id<MTLCommandBuffer> commandBuffer = [commandQueue commandBuffer];