@@ -114,9 +114,12 @@ public struct b2DebugDraw
114114
115115 /// Bounds to use if restricting drawing to a rectangular region
116116 public b2AABB drawingBounds ;
117+
118+ /// Scale to use when drawing forces
119+ public float forceScale ;
117120
118- /// Option to restrict drawing to a rectangular region. May suffer from unstable depth sorting.
119- //[MarshalAs(UnmanagedType.U1)] public bool useDrawingBounds ;
121+ /// Global scaling for joint drawing
122+ public float jointScale ;
120123
121124 /// Option to draw shapes
122125 [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawShapes ;
@@ -137,22 +140,22 @@ public struct b2DebugDraw
137140 [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawBodyNames ;
138141
139142 /// Option to draw contact points
140- [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContacts ;
143+ [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContactPoints ;
141144
142145 /// Option to visualize the graph coloring used for contacts and joints
143146 [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawGraphColors ;
144147
148+ /// Option to draw contact feature ids
149+ [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContactFeatures ;
150+
145151 /// Option to draw contact normals
146152 [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContactNormals ;
147153
148- /// Option to draw contact normal impulses
149- [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContactImpulses ;
150-
151154 /// Option to draw contact feature ids
152- [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContactFeatures ;
155+ [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawContactForces ;
153156
154157 /// Option to draw contact friction impulses
155- [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawFrictionImpulses ;
158+ [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawFrictionForces ;
156159
157160 /// Option to draw islands as bounding boxes
158161 [ MarshalAs ( UnmanagedType . U1 ) ] public bool drawIslands ;
0 commit comments