Replace fixed C arrays with wrapper class in public interface

* These map more naturally to python tuples and are easier to wrap in and out.
* We also tidy up the FloatVecVal etc and standardise the members of
  ShaderValue.
This commit is contained in:
baldurk
2020-12-09 18:16:08 +00:00
parent 580f96c8a1
commit 7ff7e0a71d
66 changed files with 1833 additions and 1459 deletions
+1 -1
View File
@@ -1365,7 +1365,7 @@ struct EventBookmark
DOCUMENT("");
EventBookmark() = default;
EventBookmark(uint32_t e) : eventId(e) {}
bool operator==(const EventBookmark &o) { return eventId == o.eventId; }
bool operator==(const EventBookmark &o) const { return eventId == o.eventId; }
bool operator!=(const EventBookmark &o) const { return eventId != o.eventId; }
bool operator<(const EventBookmark &o) const { return eventId < o.eventId; }
};