| 58 | data.emplace_back(static_cast<uint8_t>((value - 0.5f) * 255)); |
| 59 | } |
| 60 | void writeStiffness(std::vector<uint8_t>& data, float value) { data.emplace_back(static_cast<uint8_t>(value * 255)); } |
| 61 | void writeGenome(std::vector<uint8_t>& data, std::variant<MakeGenomeCopy, std::vector<uint8_t>> const& value) |
| 62 | { |
| 63 | auto makeGenomeCopy = std::holds_alternative<MakeGenomeCopy>(value); |
no outgoing calls
no test coverage detected