cesium-native 0.43.0
Loading...
Searching...
No Matches
SamplerUtility.h
1#pragma once
2
3#include <cstdint>
4
5namespace CesiumGltf {
15double applySamplerWrapS(const double u, const int32_t wrapS);
25double applySamplerWrapT(const double v, const int32_t wrapT);
26} // namespace CesiumGltf
Classes for working with glTF models.
double applySamplerWrapS(const double u, const int32_t wrapS)
Applies a sampler's WrapS value to the given U component of a texture coordinate.
double applySamplerWrapT(const double v, const int32_t wrapT)
Applies a sampler's WrapT value to the given V component of a texture coordinate.