mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-05 07:08:46 +00:00
Fix includes
Fix collision draw functions not using draw settings
This commit is contained in:
@@ -420,10 +420,10 @@ void FCogDebugDrawHelper::DrawLineTrace(
|
|||||||
End,
|
End,
|
||||||
FCogDebug::Settings.ArrowSize,
|
FCogDebug::Settings.ArrowSize,
|
||||||
HasHits ? Settings.HitColor : Settings.NoHitColor,
|
HasHits ? Settings.HitColor : Settings.NoHitColor,
|
||||||
false,
|
Settings.Persistent,
|
||||||
0.0f,
|
Settings.LifeTime,
|
||||||
FCogDebug::GetDebugDepthPriority(0),
|
Settings.DepthPriority,
|
||||||
FCogDebug::GetDebugThickness(0.0f));
|
Settings.Thickness);
|
||||||
|
|
||||||
DrawHitResults(World, HitResults, Settings);
|
DrawHitResults(World, HitResults, Settings);
|
||||||
}
|
}
|
||||||
@@ -448,10 +448,10 @@ void FCogDebugDrawHelper::DrawSweep(
|
|||||||
End,
|
End,
|
||||||
FCogDebug::Settings.ArrowSize,
|
FCogDebug::Settings.ArrowSize,
|
||||||
Color,
|
Color,
|
||||||
false,
|
Settings.Persistent,
|
||||||
0.0f,
|
Settings.LifeTime,
|
||||||
FCogDebug::GetDebugDepthPriority(0),
|
Settings.DepthPriority,
|
||||||
FCogDebug::GetDebugThickness(0.0f));
|
Settings.Thickness);
|
||||||
|
|
||||||
DrawShape(World, Shape, Start, Rotation, FVector::OneVector, Color, Settings.Persistent, Settings.LifeTime, Settings.DepthPriority, Settings.Thickness);
|
DrawShape(World, Shape, Start, Rotation, FVector::OneVector, Color, Settings.Persistent, Settings.LifeTime, Settings.DepthPriority, Settings.Thickness);
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#include "CogDebugPlot.h"
|
#include "CogDebugPlot.h"
|
||||||
|
|
||||||
|
#include "CogDebug.h"
|
||||||
#include "CogDebugDraw.h"
|
#include "CogDebugDraw.h"
|
||||||
#include "CogDebugHelper.h"
|
#include "CogDebugHelper.h"
|
||||||
#include "CogImguiHelper.h"
|
#include "CogImguiHelper.h"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#include "CogDebugReplicator.h"
|
#include "CogDebugReplicator.h"
|
||||||
|
|
||||||
|
#include "CogDebug.h"
|
||||||
#include "CogDebugDraw.h"
|
#include "CogDebugDraw.h"
|
||||||
#include "CogDebugLog.h"
|
#include "CogDebugLog.h"
|
||||||
#include "EngineUtils.h"
|
#include "EngineUtils.h"
|
||||||
|
|||||||
@@ -227,6 +227,11 @@ void FCogEngineWindow_Plots::RenderPlots(const TArray<FCogDebugPlotEntry*>& Visi
|
|||||||
|
|
||||||
FCogDebugPlotEntry& Entry = *PlotPtr;
|
FCogDebugPlotEntry& Entry = *PlotPtr;
|
||||||
|
|
||||||
|
if (Entry.Values.empty())
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (Entry.CurrentRow == PlotIndex)
|
if (Entry.CurrentRow == PlotIndex)
|
||||||
{
|
{
|
||||||
//--------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user