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

Adding points doesn't work on mobile, three js works fine #5

Open
github-actions bot opened this issue Jan 23, 2022 · 0 comments
Open

Adding points doesn't work on mobile, three js works fine #5

github-actions bot opened this issue Jan 23, 2022 · 0 comments

Comments

@github-actions
Copy link

Not sure why this happens yet but chrome->device simulation-> pixel 5 doesn't add points

Line: 26

this.geometry.setDrawRange(0, 0)
}
// FIXME: Adding points doesn't work on mobile, three js works fine
// category=threejs
// Not sure why this happens yet but chrome->device simulation-> pixel 5 doesn't add points
export function addPoint (xyz) {
const positions = this.points.geometry.attributes.position.array
positions[this.pointsCount] = xyz[0]
positions[this.pointsCount + 1] = xyz[1]

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

No branches or pull requests

0 participants