...
 
Commits (2)
...@@ -13,7 +13,7 @@ IF("${RING_VERSION}" STREQUAL "") ...@@ -13,7 +13,7 @@ IF("${RING_VERSION}" STREQUAL "")
ENDIF("${RING_VERSION}" STREQUAL "") ENDIF("${RING_VERSION}" STREQUAL "")
# if build for App Store version and build number should be incremented # if build for App Store version and build number should be incremented
IF("${RELEASE_TYPE}" STREQUAL "AppStore") IF("${RELEASE_TYPE}" STREQUAL "AppStore")
SET(RING_VERSION_NAME "1.46") SET(RING_VERSION_NAME "1.47")
ELSE() ELSE()
SET(RING_VERSION_NAME "1") SET(RING_VERSION_NAME "1")
ENDIF() ENDIF()
......
...@@ -183,7 +183,7 @@ bool frameDisplayed = false; ...@@ -183,7 +183,7 @@ bool frameDisplayed = false;
projectionMatrix = [self getScalingMatrix: ratio axis: 'y']; projectionMatrix = [self getScalingMatrix: ratio axis: 'y'];
else else
projectionMatrix = [self getScalingMatrix: 1/ratio axis: 'x']; 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]; simd::float4x4 rotationMatrix = [self getRotationMatrix:radians];
Uniforms bytes = Uniforms{projectionMatrix: projectionMatrix, rotationMatrix: rotationMatrix}; Uniforms bytes = Uniforms{projectionMatrix: projectionMatrix, rotationMatrix: rotationMatrix};
id<MTLCommandBuffer> commandBuffer = [commandQueue commandBuffer]; id<MTLCommandBuffer> commandBuffer = [commandQueue commandBuffer];
......