CesiumGS / cesium-native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Account for accessor normalization in `AccessorView`

j9liu opened this issue · comments

AccessorView is useful for providing a view of an Accessor, such that you can access its elements like an array. However, it doesn't factor in whether the accessor is normalized.

At the very least, this have a normalized field to report whether or not it should be normalized. If it's worth it, we can implement a similar template as PropertyView, such that AccessorView<T, Normalized> handles different outputs for Normalized = true or false.