hw3d icon indicating copy to clipboard operation
hw3d copied to clipboard

C++ 3D graphics engine under Direct3D 11. Developed in a Planet Chili video tutorial series that can be found on YouTube. https://youtu.be/_4FArgOX1I4

Results 5 hw3d issues
Sort by recently updated
recently updated
newest added

Hey @planetchili, thank you so much for the great tutorial. To make the hw3d project compile on the latest VS 2022, some minor fixes are necessary. Feel free to pull...

https://github.com/planetchili/hw3d/blob/b8ea00f7f236779fc4b8302f6ff73511f3c668fd/hw3d/Mouse.cpp#L123 ![image](https://user-images.githubusercontent.com/11287393/138334623-e9e39dd9-65a9-4747-a5f6-ccfabec4bdd9.png) The function should call TrimRawInputBuffer.

Camera crashes when r = 0. Graphics crashes when Window size doesn't match.

void Mouse::OnRawDelta( int dx,int dy ) noexcept { rawDeltaBuffer.push( { dx,dy } ); TrimBuffer(); } OnRawDelta in Mouse.cpp calls TrimBuffer() instead of TrimRawDeltaBuffer(). This is the only place TrimRawDeltaBuffer would...

BindableCodex header includes it self on the line 4.