mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Replace PP with direct printing
This commit is contained in:
parent
de77fe8ade
commit
3b74cc4a41
18 changed files with 110 additions and 109 deletions
|
@ -42,11 +42,3 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
C(C &&other) = default; \
|
||||
C &operator=(C &&) = default;
|
||||
|
||||
// Macros to facilitate writing position vectors to a stream
|
||||
// Usage:
|
||||
// v3s16 pos(1,2,3);
|
||||
// mystream << "message " << PP(pos) << std::endl;
|
||||
|
||||
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
|
||||
|
||||
#define PP2(x) "("<<(x).X<<","<<(x).Y<<")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue