core/irrt: comment arrays_match()

This commit is contained in:
lyken 2024-07-26 12:36:40 +08:00
parent bf0dcf325e
commit 0477e2acfa

View File

@ -11,6 +11,9 @@ const T& min(const T& a, const T& b) {
return a > b ? b : a;
}
/**
* @brief Compare contents of two arrays with the same length.
*/
template <typename T>
bool arrays_match(int len, T* as, T* bs) {
for (int i = 0; i < len; i++) {