Skip to content

Commit 56a2220

Browse files
committed
Fix angle to per-pixel expressions
1 parent 8be2115 commit 56a2220

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libprojectM/MilkdropPreset/PerPixelMesh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void PerPixelMesh::CalculateMesh(const PresetState& presetState, const PerFrameC
232232
*perPixelContext.x = static_cast<double>(curVertex.X() * 0.5f * presetState.renderContext.aspectX + 0.5f);
233233
*perPixelContext.y = static_cast<double>(curVertex.Y() * 0.5f * presetState.renderContext.aspectY + 0.5f);
234234
*perPixelContext.rad = static_cast<double>(curRadiusAngle.radius);
235-
*perPixelContext.ang = static_cast<double>(curRadiusAngle.angle);
235+
*perPixelContext.ang = static_cast<double>(-curRadiusAngle.angle);
236236
*perPixelContext.zoom = static_cast<double>(*perFrameContext.zoom);
237237
*perPixelContext.zoomexp = static_cast<double>(*perFrameContext.zoomexp);
238238
*perPixelContext.rot = static_cast<double>(*perFrameContext.rot);

0 commit comments

Comments
 (0)