| 66 | } |
| 67 | |
| 68 | std::string Index::to_string() const { |
| 69 | std::string res = ""; |
| 70 | res.append("{"); |
| 71 | res.append("array="); |
| 72 | res.append(m_array.to_string()); |
| 73 | res.append(",linear="); |
| 74 | res.append(std::to_string(m_linear)); |
| 75 | res.append(",offset="); |
| 76 | res.append(std::to_string(m_offset)); |
| 77 | res.append("}"); |
| 78 | return res; |
| 79 | } |
| 80 | static inline float diff(float x, float y) { |
| 81 | return x - y; |
| 82 | } |
no test coverage detected