Unified · Split
| @@ -2647,13 +2647,13 @@ static void xyz_to_tetrahedron(const V360Context *s, · 2646 unmodified lines | ||
| 2647 | 2647 | y = vec[1] / d; |
| 2648 | 2648 | z = -vec[2] / d; |
| 2649 | 2649 | |
| 2650 | − vf = 0.5f - y * 0.5f; | |
| 2650 | + vf = 0.5f - y * 0.5f * s->input_mirror_modifier[1]; | |
| 2651 | 2651 | |
| 2652 | 2652 | if ((x + y >= 0.f && y + z >= 0.f && -z - x <= 0.f) || |
| 2653 | 2653 | (x + y <= 0.f && -y + z >= 0.f && z - x >= 0.f)) { |
| 2654 | − uf = 0.25f * x + 0.25f; | |
| 2654 | + uf = 0.25f * x * s->input_mirror_modifier[0] + 0.25f; | |
| 2655 | 2655 | } else { |
| 2656 | − uf = 0.75f - 0.25f * x; | |
| 2656 | + uf = 0.75f - 0.25f * x * s->input_mirror_modifier[0]; | |
| 2657 | 2657 | } |
| 2658 | 2658 | |
| 2659 | 2659 | uf *= width; |