| 127 | } |
| 128 | float readNeuronProperty(std::vector<uint8_t> const& data, int& pos) { return readFloat(data, pos) * 4; } |
| 129 | float readDistance(std::vector<uint8_t> const& data, int& pos) |
| 130 | { |
| 131 | return toFloat(readByte(data, pos)) / 255 + 0.5f; |
| 132 | } |
| 133 | float readStiffness(std::vector<uint8_t> const& data, int& pos) |
| 134 | { |
| 135 | return toFloat(readByte(data, pos)) / 255; |
no test coverage detected