public void HandleDebugDraw(SyncEvent.DebugDrawType type, Vector3 v0, Vector3 v1, float f, Color color) { DrawInfo drawInfo; drawInfo.type = type; drawInfo.v0 = v0; drawInfo.v1 = v1; drawInfo.f = f; drawInfo.c = color; this._drawInfos.Enqueue(drawInfo); }
public static void DebugDraw(SyncEvent.DebugDrawType type, Vec3 v0, Vec3 v1, Vec3[] dvs, float f, Color4 color) { SyncEvent e = SyncEvent.Get(); e.type = SyncEventType.DEBUG_DRAW; e.debugDrawType = type; e.dv1 = v0; e.dv2 = v1; e.dvs = dvs; e.df = f; e.dc = color; e.BeginInvoke(); }
public void HandleDebugDraw(SyncEvent.DebugDrawType type, Vector3 v0, Vector3 v1, float f, Color color) { this._debugDrawer.HandleDebugDraw(type, v0, v1, f, color); }