inclinaison Y de M1

This commit is contained in:
2025-12-28 14:15:12 +01:00
parent e476666ff7
commit ba1572b11c
3 changed files with 16 additions and 61 deletions

View File

@ -13,6 +13,7 @@ uniform float d1;
uniform float d2;
uniform float lambda;
uniform float angleM1;
uniform float angleM1_Y;
uniform float zoom;
const float PI = 3.14159265359;
@ -53,7 +54,7 @@ void main() {
float ringFactor = radiusSq * 0.065;
// Diff de marche du au coin d'air
float wDelta = relX * angleM1 * 200.0;
float wDelta = (relX * angleM1 + relY * angleM1_Y) * 200.0f;
float currDelta = deltaLnm - ringFactor + wDelta;