-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frag - Spall simulation rewrite #10247
Conversation
Co-authored-by: johnb432 <[email protected]>
quick testing shows a whole 600ns increase in Co-authored-by: johnb432 <[email protected]>
…shooters Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
Co-authored-by: johnb432 <[email protected]>
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if then {break}
seems more readable to me but that's just personal preference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it an issue for you reading it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just haven't been reading much SQF lately. It's fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise lgtm
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}
.