<commit_before>package de.fruitfly.ovr;


public class OculusRift implements IOculusRift {
	
	private boolean initialized = false;
	
	private HMDInfo hmdInfo = new HMDInfo();
	
	public OculusRift() {
		
	}
	
	public boolean init() {
		initialized = initSubsystem();
		
		hmdInfo.HResolution = _getHResolution();
		hmdInfo.VResolution = _getVResolution();
		hmdInfo.HScreenSize = _getHScreenSize();
		hmdInfo.VScreenSize = _getVScreenSize();
		hmdInfo.HScreenSize = _getVScreenCenter();
		hmdInfo.EyeToScreenDistance =  _getEyeToScreenDistance();
		hmdInfo.LensSeperationDistance = _getLensSeparationDistance();
		hmdInfo.InterpupillaryDistance = _getInterpupillaryDistance();
		hmdInfo.DistortionK[0] = _getDistortionK0();
		hmdInfo.DistortionK[1] = _getDistortionK1();
		hmdInfo.DistortionK[2] = _getDistortionK2();
		hmdInfo.DistortionK[3] = _getDistortionK3();
		
		return initialized;
	}
	
	public boolean isInitialized() {
		return initialized;
	}<commit_msg>Fix bug with hmdInfo, _getVScreenCenter() should store output in VScreenCenter.<commit_after>package de.fruitfly.ovr;


public class OculusRift implements IOculusRift {
	
	private boolean initialized = false;
	
	private HMDInfo hmdInfo = new HMDInfo();
	
	public OculusRift() {
		
	}
	
	public boolean init() {
		initialized = initSubsystem();
		
		hmdInfo.HResolution = _getHResolution();
		hmdInfo.VResolution = _getVResolution();
		hmdInfo.HScreenSize = _getHScreenSize();
		hmdInfo.VScreenSize = _getVScreenSize();
		hmdInfo.VScreenCenter = _getVScreenCenter();
		hmdInfo.EyeToScreenDistance =  _getEyeToScreenDistance();
		hmdInfo.LensSeperationDistance = _getLensSeparationDistance();
		hmdInfo.InterpupillaryDistance = _getInterpupillaryDistance();
		hmdInfo.DistortionK[0] = _getDistortionK0();
		hmdInfo.DistortionK[1] = _getDistortionK1();
		hmdInfo.DistortionK[2] = _getDistortionK2();
		hmdInfo.DistortionK[3] = _getDistortionK3();
		
		return initialized;
	}
	
	public boolean isInitialized() {
		return initialized;
	}
{'fraction_non_alphanumeric': 0.10120240480961924, 'fraction_numerical': 0.008016032064128256, 'mean_word_length': 5.4627831715210355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1775540', 'n_tokens_mistral': 756, 'n_tokens_neox': 674, 'n_words': 117}