ChipmunkPhysics2D/PhysWorld2D: Set default colors for debug draw options
This commit is contained in:
parent
31dd74c503
commit
98e9c89a54
|
|
@ -101,9 +101,9 @@ namespace Nz
|
||||||
|
|
||||||
struct DebugDrawOptions
|
struct DebugDrawOptions
|
||||||
{
|
{
|
||||||
Color constraintColor;
|
Color constraintColor = Color::Blue();
|
||||||
Color collisionPointColor;
|
Color collisionPointColor = Color::Green();
|
||||||
Color shapeOutlineColor;
|
Color shapeOutlineColor = Color::Red();
|
||||||
|
|
||||||
DebugDrawCircleCallback circleCallback;
|
DebugDrawCircleCallback circleCallback;
|
||||||
DebugDrawGetColorCallback colorCallback;
|
DebugDrawGetColorCallback colorCallback;
|
||||||
|
|
@ -112,7 +112,7 @@ namespace Nz
|
||||||
DebugDrawSegmentCallback segmentCallback;
|
DebugDrawSegmentCallback segmentCallback;
|
||||||
DebugDrawTickSegmentCallback thickSegmentCallback;
|
DebugDrawTickSegmentCallback thickSegmentCallback;
|
||||||
|
|
||||||
void* userdata;
|
void* userdata = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct NearestQueryResult
|
struct NearestQueryResult
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue