mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-06 12:27:57 +00:00
cleaned up stereo/high-FOV projections
This commit is contained in:
18
legacy.cpp
18
legacy.cpp
@@ -457,6 +457,24 @@ int read_legacy_args_anim() {
|
||||
} */
|
||||
/* skiprope:legacy.cpp pconf.skiprope += skiprope_rotation * t * TAU / period; */
|
||||
}
|
||||
else if(argis("-palpha")) {
|
||||
PHASEFROM(2);
|
||||
#if CAP_GL
|
||||
shift_arg_formula(vid.stereo_param, reset_all_shaders);
|
||||
#else
|
||||
shift_arg_formula(vid.stereo_param);
|
||||
#endif
|
||||
vid.stereo_mode = sPanini;
|
||||
}
|
||||
else if(argis("-salpha")) {
|
||||
PHASEFROM(2);
|
||||
#if CAP_GL
|
||||
shift_arg_formula(vid.stereo_param, reset_all_shaders);
|
||||
#else
|
||||
shift_arg_formula(vid.stereo_param);
|
||||
#endif
|
||||
vid.stereo_mode = sStereographic;
|
||||
}
|
||||
else return 1;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user