Back to project page Cardboard.
The source code is released under:
Apache License
If you think the Android project Cardboard listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.google.vrtoolkit.cardboard; // w w w . j av a 2 s . c o m public class EyeParams { private final int mEye; private final Viewport mViewport; private final FieldOfView mFov; private final EyeTransform mEyeTransform; public EyeParams(int eye) { this.mEye = eye; this.mViewport = new Viewport(); this.mFov = new FieldOfView(); this.mEyeTransform = new EyeTransform(this); } public int getEye() { return this.mEye; } public Viewport getViewport() { return this.mViewport; } public FieldOfView getFov() { return this.mFov; } public EyeTransform getTransform() { return this.mEyeTransform; } public static class Eye { public static final int MONOCULAR = 0; public static final int LEFT = 1; public static final int RIGHT = 2; } }