添加检查圆重叠的盒子
This commit is contained in:
@@ -28,14 +28,14 @@ module es {
|
||||
}
|
||||
|
||||
protected debugRender(scene: Scene) {
|
||||
es.Physics.debugDraw(2);
|
||||
|
||||
for (let i = 0; i < scene.entities.count; i ++) {
|
||||
let entity = scene.entities.buffer[i];
|
||||
if (entity.enabled) {
|
||||
entity.debugRender(Graphics.instance.batcher);
|
||||
}
|
||||
}
|
||||
|
||||
es.Physics.debugDraw(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user