Frag - Spall simulation rewrite#10247
Conversation
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
quick testing shows a whole 600ns increase in Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
…shooters Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
|
Still working on the merge, will post when it's cleaned up |
…frag-overhaul into spall-rework-v2
|
|
|
Waiting on fix for arma-rs |
| for "_i" from 2 to 21 do | ||
| { | ||
| _spallPosASL = _lastSpallPos vectorAdd _deltaStep; | ||
| if (!lineIntersects [_lastSpallPos, _spallPosASL]) exitWith { |
There was a problem hiding this comment.
if then {break} seems more readable to me but that's just personal preference.
There was a problem hiding this comment.
I think I switched to this because it is slightly faster, but I definitely can change that if there was a readability issue for you.
There was a problem hiding this comment.
Was it an issue for you reading it?
There was a problem hiding this comment.
Just haven't been reading much SQF lately. It's fine.
There was a problem hiding this comment.
Oh, I could've made the change so a future person wouldn't struggle, but it's merged al;ready. I wasn't sure if that was an actual stumble or not.
This PR is based on PR #10157 and requires it to be merged.
When merged this pull request will:
Examples
40mm AP from a Badger IFV creating spalling within a room.
A 120mm HE round producing fragments (blue & green) outside a building, as well as spall (purple) within a room.
IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}.