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
312 stars 48 forks source link

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

Closed n0F4x closed 3 months ago

n0F4x commented 3 months ago

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

spnda commented 3 months 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.