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
parent
ed9dafc3c1
commit
8b2d7775d9
|
@ -28,6 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
namespace tinyusdz {
|
||||||
enum ColorSpace {
|
enum ColorSpace {
|
||||||
COLORSPACE_NONE, // No explicit colorspace
|
COLORSPACE_NONE, // No explicit colorspace
|
||||||
COLORSPACE_SRGB,
|
COLORSPACE_SRGB,
|
||||||
|
@ -65,4 +66,4 @@ struct TextureSampler {
|
||||||
bool Sample(const Texture &tex, float u, float v, float w);
|
bool Sample(const Texture &tex, float u, float v, float w);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
} // namespace tinyusdz
|
||||||
|
|
Loading…
Reference in New Issue