Fix selected spline points to be drawn relative to the view for greater readability

#2595
This commit is contained in:
Wojtek Figat
2025-01-31 21:01:26 +01:00
parent 42fc62eb68
commit 24f3dfe264
3 changed files with 21 additions and 6 deletions

View File

@@ -741,6 +741,11 @@ void DebugDraw::SetContext(void* context)
#endif
Vector3 DebugDraw::GetViewPos()
{
return Context->LastViewPos;
}
void DebugDraw::Draw(RenderContext& renderContext, GPUTextureView* target, GPUTextureView* depthBuffer, bool enableDepthTest)
{
PROFILE_GPU_CPU("Debug Draw");