Compare commits
2 Commits
37b5ce3951
...
1b87a6fb9e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b87a6fb9e | |||
| 200e9a44b7 |
@ -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
3
main.c
@ -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));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user