Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
Uppercased constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Chen committed May 30, 2019
1 parent 8ee23ac commit 4714e3e
Showing 1 changed file with 4 additions and 39 deletions.
43 changes: 4 additions & 39 deletions src/Constants.js
Original file line number Diff line number Diff line change
@@ -1,40 +1,5 @@
(function(){
import { version } from '../package.json';

'use strict';

/**
* Control Index Enum
* @memberOf PANOLENS
* @enum {number}
*/

PANOLENS.Controls = {

ORBIT: 0,

DEVICEORIENTATION: 1

};

/**
* Effect Mode Enum
* @memberOf PANOLENS
* @enum {number}
*/
PANOLENS.Modes = {

/** Unknown */
UNKNOWN: 0,

/** Normal */
NORMAL: 1,

/** Google Cardboard*/
CARDBOARD: 2,

/** Stereoscopic **/
STEREO: 3

};

})();
export const REVISION = version;
export const CONTROLS = { ORBIT: 0, DEVICEORIENTATION: 1 };
export const MODES = { UNKNOWN: 0, NORMAL: 1, CARDBOARD: 2, STEREO: 3 };

0 comments on commit 4714e3e

Please sign in to comment.