spnda / fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability
https://fastgltf.readthedocs.io/v0.8.x/
MIT License
275 stars 42 forks source link

Inconsistent function names for the same use case in math #67

Closed n0F4x closed 1 month ago

n0F4x commented 1 month ago

vec has data(), while quat has value_ptr(). Why not use the same function name when the two mean the same?

spnda commented 1 month ago

They were original all called value_ptr but i changed it to data to match the previous usage of std::array in older versions. I must have just forgotten about changing it for the quat type. Will fix soon.