Fix selected spline points to be drawn relative to the view for greater readability
#2595
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user