enum CP::Space::DebugDraw::Flags

Overview

Flags that request which things to draw (collision shapes, constraints, contact points).

Defined in:

chipmunk/debug_draw.cr

Enum Members

DRAW_SHAPES = 1
DRAW_CONSTRAINTS = 2
DRAW_COLLISION_POINTS = 4
None = 0
All = 7

Instance Method Summary

Instance Method Detail

def draw_collision_points? #

Returns true if this enum value contains DRAW_COLLISION_POINTS


[View source]
def draw_constraints? #

Returns true if this enum value contains DRAW_CONSTRAINTS


[View source]
def draw_shapes? #

Returns true if this enum value contains DRAW_SHAPES


[View source]
def none? #

[View source]