Add namespace to tinyusdz texture classes

TODO: w/o namespace assimp build will break (if building tinyusdz standalone, would need to update source files w/namespace)
pull/5522/head
Steve M 2024-03-29 21:04:20 -07:00
parent ed9dafc3c1
commit 8b2d7775d9
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <utility>
namespace tinyusdz {
enum ColorSpace {
COLORSPACE_NONE, // No explicit colorspace
COLORSPACE_SRGB,
@ -65,4 +66,4 @@ struct TextureSampler {
bool Sample(const Texture &tex, float u, float v, float w);
};
} // namespace tinyusdz