sd805 / l4d2vr

Left 4 Dead 2 VR mod
369 stars 35 forks source link

Activate laser pointer when controller is pointing the at the overlay using the tip matrix #74

Closed elvissteinjr closed 1 year ago

elvissteinjr commented 1 year ago

As previously mentioned, here's what I believe to be an improvement to the current laser pointer toggle behavior. I've opted into using the VMatrix class for the one matrix multiplication and pulled some more SDK bits in. But only as much as needed for this.

This is probably gonna be the last pull request from me for now. I'll keep an eye on the project, though.

elvissteinjr commented 1 year ago

Mhm, something wrong with this one? There's no rush to this or anything, just wondering since the other ones were merged rather quickly.

sd805 commented 1 year ago

Whoops, got busy and forgot to check this out! Looks good. I really appreciate the help with the overlays. A minor thing: should the names VMatrixToHmdMatrix and VMatrixFromHmdMatrix be swapped?

elvissteinjr commented 1 year ago

You are absolutely correct on that one. Fixed.