Tag Info

New answers tagged

0

I totally forgot about this, so the problem was on how my view matrix was built. So my view port was located just in front of the ray cast, messing everything up, i was projecting into the right place, i was just looking at it wrong. I just needed to adjust my view matrix and done.


1

If you're using win32 then you can handle mouse and keyboard events using RawInput. Info can be found on MSDN. You would handle windows messages for raw input devices in the window process. For example, if handling the input for a keyboard and mouse, register those devices in the WM_CREATE case of your application window process like so: switch( uMsg ){ ...



Top 50 recent answers are included