CesiumGS / cesium-native

Apache License 2.0
402 stars 205 forks source link

Add `IndexFromAccessor` #865

Closed lilleyse closed 3 months ago

lilleyse commented 3 months ago

Adds a visitor that retrieves the index supplied by IndexAccessorType. There's some overlap with IndicesForFaceFromAccessor but this allows for simpler direct access of indices.

lilleyse commented 3 months ago

Thanks for the suggestion! This should be ready now.

kring commented 3 months ago

Merging this so it can go in today's cesium-native release. Thanks @lilleyse!