Skip to content

Commit

Permalink
MessageSpatial2D::In::wrap() (#794)
Browse files Browse the repository at this point in the history
* MessageSpatial2D::In::wrap()

Needs better testing, will post model I was playing with in PR comments.

* Add getVirtualX() getVirtualY() to the wrapped iterator message.

* Add a test that spatial2D wrapped messages work as intended.

It might be a little naive, but should catch if things break badly.

* 3D support and test added

+some additional minor cleanup (mostly removing redundant references.

* docs fix

* Add SEATBELTS to catch out of bounds messages.

Improve tests for non-zero environment min and out of bounds.

* Updates following FGPU meeting.
  • Loading branch information
Robadob authored Aug 10, 2022
1 parent a11eb8a commit e176d8a
Show file tree
Hide file tree
Showing 5 changed files with 980 additions and 61 deletions.
2 changes: 1 addition & 1 deletion include/flamegpu/runtime/messaging/MessageSpatial2D.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class MessageSpatial2D {
/**
* max-lowerBound
*/
float environmentWidth[3];
float environmentWidth[2];
};
};

Expand Down
Loading

0 comments on commit e176d8a

Please sign in to comment.