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

Misc raycaster opts #5

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Misc raycaster opts #5

wants to merge 6 commits into from

Conversation

Daft-Freak
Copy link
Collaborator

Was scrolling through here doing something else and got distracted. ~26 -> 19ms on the thing I was testing.

Saw this when scrolling past, bit too much floating point going on here...
Saves a couple of ms
Modify the colour instead of going through screen.pixel twice and blending
We draw the entire screen anyway
A little faster to do the fill in one go
@Daft-Freak
Copy link
Collaborator Author

Pretty sure internal-api.service.iad.github.net being inaccessible is not my problem...

@Gadgetoid
Copy link
Contributor

Were you poking at this? -

raycaster/raycaster.cpp:27:2: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        Vec2(0,0),
        ^~~~~~~~~~
        {

@Daft-Freak
Copy link
Collaborator Author

Hmm, nope (I'm not getting that warning anyway). Think I was here for the big map rework.

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