I hereby claim:
- I am kormyen on github.
- I am kormyen (https://keybase.io/kormyen) on keybase.
- I have a public key ASBtt3T8KCgk12n64g75LRX13yyOwSR7bgsVNWfixzUXBAo
To claim this, I am signing this object:
#define WHITE 0xFFFF /* 255, 255, 255 */ | |
#define LIGHTGREY 0xC618 /* 192, 192, 192 */ | |
#define DARKGREY 0x7BEF /* 128, 128, 128 */ | |
#define BLACK 0x0000 /* 0, 0, 0 */ | |
#define NAVY 0x000F /* 0, 0, 128 */ | |
#define BLUE 0x001F /* 0, 0, 255 */ | |
#define DARKCYAN 0x03EF /* 0, 128, 128 */ | |
#define CYAN 0x07FF /* 0, 255, 255 */ | |
#define GREEN 0x07E0 /* 0, 255, 0 */ | |
#define DARKGREEN 0x03E0 /* 0, 128, 0 */ |
I hereby claim:
To claim this, I am signing this object:
using System.Collections; | |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.VR; | |
using VRStandardAssets.Utils; | |
public class VrModeSwitch : MonoBehaviour | |
{ | |
// REFERENCE | |
[SerializeField] private GyroCamera _gyroControl; |
using UnityEngine; | |
using System.Collections; | |
public class GyroCamera : MonoBehaviour | |
{ | |
// STATE | |
private float _initialYAngle = 0f; | |
private float _appliedGyroYAngle = 0f; | |
private float _calibrationYAngle = 0f; | |
private Transform _rawGyroRotation; |