Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

[WIP] Expose Device Attitude #32

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

saniul
Copy link
Contributor

@saniul saniul commented Feb 28, 2015

To do:

  • Document DeviceAttitudeObserver and DeviceAttitudeSample API
  • JS Bridge
  • Sample scene

The last 10 samples are exposed (internally stored in a ring buffer).
When initializing the AttitudeObserver you can decide whether you want
the samples to be recorder relative to an anchor attitude or just as absolute
values.
}
}

public struct RingGenerator<T> : GeneratorType {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Niiice :)

@andymatuschak
Copy link
Contributor

Would love to see tests for your ring logic too when you get a chance. Exciting!

@saniul
Copy link
Contributor Author

saniul commented Mar 16, 2015

Would love to see tests for your ring logic too when you get a chance. Exciting!

Done!

@saniul
Copy link
Contributor Author

saniul commented Mar 16, 2015

Just need the JS bridge and a test scene now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants