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

Issue #26 Adjust raycast interval #66

Merged
merged 3 commits into from
Jan 9, 2024
Merged

Conversation

ajmas
Copy link
Owner

@ajmas ajmas commented Jan 8, 2024

No description provided.

Copy link

@thkruz thkruz left a comment

Choose a reason for hiding this comment

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

It looks functional as is, but since you left it in the PR section I thought you might want feedback.

src/viewer/index.ts Show resolved Hide resolved
Comment on lines 48 to 49
frameCount = 0;
raycastFrameInterval = 16;
Copy link

Choose a reason for hiding this comment

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

I would make both these private and make raycastFrameInterval readonly.

Copy link
Owner Author

Choose a reason for hiding this comment

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

We should probably be thinking more what should be private. I'll admit I still have holes in my Typescript knowledge, partly because for a while I have been the only senior on the teams I've worked on.

@ajmas ajmas merged commit 20e9d90 into master Jan 9, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants