summaryrefslogtreecommitdiff
path: root/src/sim/lib/force.rs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2026-08-24 21:10:41 -0700
committerKai Stevenson <kai@kaistevenson.com>2026-08-24 21:10:41 -0700
commit9cb48c504ddb3882f39e2b17048f0593316a95ce (patch)
tree9852098ec856bd1e8860186d80c458811541452d /src/sim/lib/force.rs
parente1724b9af036c70fcce8fa249f62bf9807d29b6b (diff)
bullet tweaks
Diffstat (limited to 'src/sim/lib/force.rs')
-rw-r--r--src/sim/lib/force.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/lib/force.rs b/src/sim/lib/force.rs
index c6cfaf0..d461589 100644
--- a/src/sim/lib/force.rs
+++ b/src/sim/lib/force.rs
@@ -98,6 +98,7 @@ pub fn apply_explosion(
}
// TODO profile packing entity ID into cells?
+// TODO sink power in a radius around the impact
// might improve performance by a lot if we don't have to raycast for hit entities
pub fn apply_bullet(ctx: &mut SimCtx, from: Vec2, to: Vec2, power: u32) {
let dda = AwDda::new(from, to);