Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow devices to set transforms for each camera #114

Merged
merged 2 commits into from Apr 12, 2019

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Mar 20, 2019

Allow the device to set different camera transforms for each eye.

asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Mar 20, 2019
@asajeffrey asajeffrey changed the title Demo camera transforms event Allow devices to set transforms for each camera Mar 20, 2019
@asajeffrey asajeffrey force-pushed the asajeffrey:demo-camera-transforms-event branch from 5c98523 to a8b42b8 Mar 20, 2019
asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Mar 20, 2019
asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Mar 21, 2019
asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Mar 21, 2019
asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Mar 21, 2019
asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Mar 25, 2019
@asajeffrey asajeffrey force-pushed the asajeffrey:demo-camera-transforms-event branch from a8b42b8 to dd7e4ee Mar 26, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Mar 26, 2019

Rebased.

@asajeffrey asajeffrey force-pushed the asajeffrey:demo-camera-transforms-event branch from dd7e4ee to e60dff1 Apr 8, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Apr 8, 2019

Rebased. @pcwalton review ping?

asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Apr 8, 2019
@asajeffrey asajeffrey force-pushed the asajeffrey:demo-camera-transforms-event branch from e60dff1 to b5771f2 Apr 10, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Apr 10, 2019

Rebased.

asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Apr 10, 2019
ThreeD { transform: CameraTransform3D, velocity: Point3DF32 },
ThreeD {
// The mode will either be 3D or VR
mode: Mode,

This comment has been minimized.

@pcwalton

pcwalton Apr 10, 2019

Collaborator

This seems redundant; the mode can be detected by looking at the length of transforms. How about making this a method (e.g. is_stereo()) on Camera?

This comment has been minimized.

@asajeffrey

asajeffrey Apr 12, 2019

Author Member

Fixed. I kept the mode() method, rather than going for is_stereo(), just because that fits the way the method is used.

asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Apr 11, 2019
@asajeffrey asajeffrey force-pushed the asajeffrey:demo-camera-transforms-event branch from eb57b13 to 5c30913 Apr 12, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Apr 12, 2019

Rebased.

asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Apr 12, 2019
asajeffrey added a commit to asajeffrey/pathfinder that referenced this pull request Apr 12, 2019
@pcwalton pcwalton merged commit 5c30913 into servo:pf3 Apr 12, 2019
@pcwalton
Copy link
Collaborator

pcwalton commented Apr 12, 2019

Merged in 3996d9a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.