mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-03 23:33:01 +00:00 
			
		
		
		
	removed the old VR preparation
This commit is contained in:
		@@ -232,15 +232,8 @@ void display_data::set_all(int ed) {}
 | 
			
		||||
 | 
			
		||||
#if CAP_GL
 | 
			
		||||
 | 
			
		||||
#if CAP_VR
 | 
			
		||||
EX hookset<bool()> hooks_vr_eye_view, hooks_vr_eye_projection;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
EX void eyewidth_translate(int ed) {
 | 
			
		||||
  glhr::using_eyeshift = false;
 | 
			
		||||
#if CAP_VR
 | 
			
		||||
  if(callhandlers(false, hooks_vr_eye_view)) ; else
 | 
			
		||||
#endif
 | 
			
		||||
  if(ed) glhr::projection_multiply(glhr::translate(-ed * current_display->eyewidth(), 0, 0));
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2291,10 +2291,6 @@ EX void draw_main() {
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
#if CAP_VR
 | 
			
		||||
EX hookset<bool()> hooks_vr_draw_all;
 | 
			
		||||
#endif
 | 
			
		||||
  
 | 
			
		||||
EX void drawqueue() {
 | 
			
		||||
 | 
			
		||||
  DEBBI(DF_GRAPH, ("drawqueue"));
 | 
			
		||||
@@ -2368,9 +2364,6 @@ EX void drawqueue() {
 | 
			
		||||
  spherephase = 0;
 | 
			
		||||
  reset_projection();
 | 
			
		||||
  
 | 
			
		||||
  #if CAP_VR
 | 
			
		||||
  if(callhandlers(false, hooks_vr)) {} else
 | 
			
		||||
  #endif
 | 
			
		||||
  #if CAP_GL
 | 
			
		||||
  if(model_needs_depth() && current_display->stereo_active()) {
 | 
			
		||||
    global_projection = -1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user