Files
marohook/Andromeda-CS2-Base/Andromeda-CS2-Base/CS2/Hook/Hook_GetMatricesForView.cpp
T
2025-10-20 14:00:35 +03:00

17 lines
584 B
C++

#include "Hook_GetMatricesForView.hpp"
#include <CS2/SDK/Math/Math.hpp>
#include <AndromedaClient/Features/CVisual/CVisual.hpp>
auto Hook_GetMatricesForView( void* rcx , void* view ,
VMatrix* pWorldToView ,
VMatrix* pViewToProjection ,
VMatrix* pWorldToProjection ,
VMatrix* pWorldToPixels ) -> void
{
GetMatricesForView_o( rcx , view , pWorldToView , pViewToProjection , pWorldToProjection , pWorldToPixels );
GetVisual()->CalculateBoundingBoxes();
}