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

Possible Error in part 2 ? #4

Open
MichalRymarski opened this issue Apr 19, 2024 · 0 comments
Open

Possible Error in part 2 ? #4

MichalRymarski opened this issue Apr 19, 2024 · 0 comments

Comments

@MichalRymarski
Copy link

The last step is adding :

// Visualize depth points.
depthRenderer.update(points);
depthRenderer.draw(camera);

to onDrawFrame() but variable points dont exist in that scope. Since points are supposed to be a FloatBuffer I used DepthData.create(Frame frame , Anchor anchor) , but the tutorial doesnt specify anything about that.
Did I skip something or is the codelab missing something ?

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

No branches or pull requests

1 participant