Compare commits

...

2 Commits

Author SHA1 Message Date
1b87a6fb9e todo 2025-12-28 11:44:07 +01:00
200e9a44b7 variation de valeur précise (lent) / accel) 2025-12-28 11:43:25 +01:00
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# TODO
- Changement de valeur plus précise (plus lente) => mieux voir la direction des cercles selon les variations
- ~Changement de valeur plus précise (plus lente) => mieux voir la direction des cercles selon les variations~
- Inclinaison horizontal pour le miroir M2
- Choisir GPU / CPU / CPU (multi-threadé)
- Boite de gaz avec indice de réfraction n varible

3
main.c
View File

@ -238,11 +238,8 @@ void DrawControlPanel(Michelson *mic) {
float stepLambda = speedMode ? 10.0f : 1.0f;
if (GuiButtonRepeat((Rectangle){startX, startY + 30, btnSize, 25}, "-", shouldRepeat)) mic->lambda -= stepLambda;
GuiSlider((Rectangle){startX + btnSize + 5, startY + 30, sliderWidth - 40, 25}, NULL, NULL, &mic->lambda, 380, 780);
if (GuiButtonRepeat((Rectangle){startX + btnSize + sliderWidth - 30, startY + 30, btnSize, 25}, "+", shouldRepeat)) mic->lambda += stepLambda;
DrawRectangle(startX + contentWidth - 30, startY + 30, 30, 25, WavelengthToColor(mic->lambda));