File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -365,27 +365,27 @@ namespace detail
365
365
366
366
# if GLM_LANG & GLM_LANG_CXX14_FLAG || GLM_LANG & GLM_LANG_CXX17_FLAG
367
367
# if GLM_LANG & GLM_LANG_CXX20_FLAG
368
- if (std::is_constant_evaluated ())
369
- {
368
+ if (std::is_constant_evaluated ())
369
+ {
370
370
# endif
371
- switch (i)
372
- {
373
- default :
374
- case 0 :
375
- return x;
376
- case 1 :
377
- return y;
378
- case 2 :
379
- return z;
380
- case 3 :
381
- return w;
382
- }
383
- # if GLM_LANG & GLM_LANG_CXX20_FLAG
384
- }
385
- else
371
+ switch (i)
386
372
{
387
- return (&x)[i];
373
+ default :
374
+ case 0 :
375
+ return x;
376
+ case 1 :
377
+ return y;
378
+ case 2 :
379
+ return z;
380
+ case 3 :
381
+ return w;
388
382
}
383
+ # if GLM_LANG & GLM_LANG_CXX20_FLAG
384
+ }
385
+ else
386
+ {
387
+ return (&x)[i];
388
+ }
389
389
# endif
390
390
# else
391
391
return (&x)[i];
You can’t perform that action at this time.
0 commit comments