Skip to content

Instantly share code, notes, and snippets.

import java.util.HashMap;
public class GlobalRayFactor_main {
/**
* HashMap with all ray factors. Key is a combination of beta and gamma.
* Example: 20°,0°=>20 + 0 = 20 | 45°,30°=>45 + 1 = 46 | 90°,45°=>90 + 2 = 92
*/
static HashMap<Integer, int[]> globalRayFacotrs;
public static void main(String[] args) {